fix(deploy): conserver le routage Traefik de recette
This commit is contained in:
@@ -45,12 +45,17 @@ services:
|
||||
JWT_EXPIRES_IN: ${JWT_EXPIRES_IN:-24h}
|
||||
UPLOAD_DIR: /app/uploads
|
||||
OPENAI_API_KEY: ${OPENAI_API_KEY:-}
|
||||
ports:
|
||||
- "${APP_PORT:-8080}:3001"
|
||||
volumes:
|
||||
- uploads_data:/app/uploads
|
||||
networks:
|
||||
- web
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.docker.network=web"
|
||||
- "traefik.http.routers.facturation-santinova.rule=Host(`facturation.recette.santinova-soft.org`)"
|
||||
- "traefik.http.routers.facturation-santinova.entrypoints=websecure"
|
||||
- "traefik.http.routers.facturation-santinova.tls.certresolver=letsencrypt"
|
||||
- "traefik.http.services.facturation-santinova.loadbalancer.server.port=3001"
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "http://localhost:3001/api/health"]
|
||||
interval: 30s
|
||||
|
||||
Reference in New Issue
Block a user