TODO: mise a jour 2026-06-04 - cleanup massif, helms ansible generés
This commit is contained in:
35
smart-app-city/docker-compose.web.yml
Normal file
35
smart-app-city/docker-compose.web.yml
Normal file
@@ -0,0 +1,35 @@
|
||||
services:
|
||||
web:
|
||||
image: nginx:alpine
|
||||
container_name: smartapp-web
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- traefik-public
|
||||
volumes:
|
||||
- /home/eric/smart-city-digital-twin-martinique/smart-app-city/frontend/dist:/usr/share/nginx/html
|
||||
labels:
|
||||
- "traefik.enable=false"
|
||||
expose:
|
||||
- "80"
|
||||
|
||||
api:
|
||||
build:
|
||||
context: ./backend/auth-service
|
||||
dockerfile: Dockerfile
|
||||
container_name: smartapp-api
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- traefik-public
|
||||
volumes:
|
||||
- /home/eric/smart-city-digital-twin-martinique/smart-app-city/backend/auth-service/users.json:/app/users.json
|
||||
expose:
|
||||
- "3001"
|
||||
healthcheck:
|
||||
test: ["CMD", "wget", "-qO-", "http://localhost:3001/health"]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 3
|
||||
|
||||
networks:
|
||||
traefik-public:
|
||||
external: true
|
||||
Reference in New Issue
Block a user