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: services:
# Votre backend (API)
backend: backend:
build: . build: .
container_name: cyberusgate_poc container_name: cyberusgate_backend
ports: volumes:
- "8000:8000" - ./app:/app
environment: environment:
- PYTHONUNBUFFERED=1 - PYTHONUNBUFFERED=1
networks: networks:
- cyberusgate-network - cyberusgate-network
# Votre frontend statique (Nginx)
frontend: frontend:
image: nginx:alpine image: nginx:alpine
container_name: cyberusgate_frontend
ports: ports:
- "8080:80" - "8080:80"
volumes: volumes:
# On monte tout le dossier 'web' d'un coup dans le répertoire Nginx # On monte le dossier 'app' complet dans Nginx
- ./web:/usr/share/nginx/html:ro - ./app:/usr/share/nginx/html:ro
networks: networks:
- cyberusgate-network - cyberusgate-network
networks: networks:
cyberusgate-network: cyberusgate-network:
driver: bridge driver: bridge