Add : Front end

This commit is contained in:
Guillaume-Sanchez
2026-06-29 21:49:37 +02:00
parent a099d7cc4e
commit 3e1cc1b841
+8 -7
View File
@@ -1,26 +1,27 @@
services:
# Votre backend (API)
backend:
build: .
container_name: cyberusgate_poc
ports:
- "8000:8000"
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 tout le dossier 'web' d'un coup dans le répertoire Nginx
- ./web:/usr/share/nginx/html:ro
# On monte le dossier 'app' complet dans Nginx
- ./app:/usr/share/nginx/html:ro
networks:
- cyberusgate-network
networks:
cyberusgate-network:
driver: bridge