Add : Front end
This commit is contained in:
+18
-4
@@ -1,11 +1,25 @@
|
|||||||
services:
|
services:
|
||||||
cyberusgate-app:
|
backend:
|
||||||
build: .
|
build: .
|
||||||
container_name: cyberusgate_poc
|
|
||||||
ports:
|
ports:
|
||||||
- "8000:8000"
|
- "8000:8000"
|
||||||
environment:
|
volumes:
|
||||||
- PYTHONUNBUFFERED=1
|
- ./app:/app
|
||||||
|
networks:
|
||||||
|
- cyberusgate-network
|
||||||
|
|
||||||
|
# Votre frontend statique
|
||||||
|
frontend:
|
||||||
|
image: nginx:alpine
|
||||||
|
ports:
|
||||||
|
- "8888:80" # Vous accédez au site via http://localhost directement
|
||||||
|
volumes:
|
||||||
|
- ./app/index.html:/usr/share/nginx/html/index.html:ro
|
||||||
|
- ./app/apple-touch-icon.png:/usr/share/nginx/html/apple-touch-icon.png:ro
|
||||||
|
- ./app/favicon-16x16:/usr/share/nginx/html/favicon-16x16:ro
|
||||||
|
- ./app/favicon-32x32:/usr/share/nginx/html/favicon-32x32:ro
|
||||||
|
- ./app/site.webmanifest:/usr/share/nginx/html/site.webmanifest:ro
|
||||||
|
# Montez vos autres assets ici
|
||||||
networks:
|
networks:
|
||||||
- cyberusgate-network
|
- cyberusgate-network
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user