Files
cyberusgate/docker-compose.yml
T
Guillaume-Sanchez 3e1cc1b841 Add : Front end
2026-06-29 21:49:37 +02:00

27 lines
558 B
YAML

services:
# Votre backend (API)
backend:
build: .
container_name: cyberusgate_backend
volumes:
- ./app:/app
environment:
- PYTHONUNBUFFERED=1
networks:
- cyberusgate-network
# Votre frontend statique (Nginx)
frontend:
image: nginx:alpine
container_name: cyberusgate_frontend
ports:
- "8080:80"
volumes:
# On monte le dossier 'app' complet dans Nginx
- ./app:/usr/share/nginx/html:ro
networks:
- cyberusgate-network
networks:
cyberusgate-network:
driver: bridge