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