|
|
@@ -14,11 +14,11 @@ services:
|
|
|
express_prod:
|
|
|
build:
|
|
|
context: ./express-server
|
|
|
- ports:
|
|
|
- - "4003:4000"
|
|
|
networks:
|
|
|
- web
|
|
|
- private
|
|
|
+ expose:
|
|
|
+ - "4000"
|
|
|
labels:
|
|
|
- traefik.enable=true
|
|
|
- traefik.http.routers.express_prod.rule=Host(`api-prod.foodgame.fr`)
|
|
|
@@ -59,7 +59,7 @@ services:
|
|
|
- BACKUP_COMPRESSION=GZIP
|
|
|
- BACKUP_SPLIT_DB=TRUE
|
|
|
- BACKUP_BEGIN=TRUE
|
|
|
- - SCHEDULE=0 3 * * * # Tous les jours à 3h du matin
|
|
|
+ - SCHEDULE=0 3 * * * # Sauvegarde tous les jours à 3h du matin
|
|
|
- BACKUP_RETAIN_DAYS=7
|
|
|
- BACKUP_CLEANUP_TIME=0430
|
|
|
- NOTIFICATION_TYPE=email
|
|
|
@@ -73,11 +73,13 @@ services:
|
|
|
|
|
|
angular_ssr_prod:
|
|
|
build:
|
|
|
- context: ./
|
|
|
+ context: ./ # Racine Angular
|
|
|
dockerfile: build/docker/angular-ssr/Dockerfile
|
|
|
networks:
|
|
|
- web
|
|
|
- private
|
|
|
+ expose:
|
|
|
+ - "4000"
|
|
|
labels:
|
|
|
- traefik.enable=true
|
|
|
- traefik.http.routers.angular_ssr_prod.rule=Host(`fatboar.foodgame.fr`)
|
|
|
@@ -85,6 +87,7 @@ services:
|
|
|
- traefik.http.routers.angular_ssr_prod.entrypoints=websecure
|
|
|
- traefik.http.routers.angular_ssr_prod.tls.certresolver=myresolver
|
|
|
restart: unless-stopped
|
|
|
+
|
|
|
|
|
|
# apache_prod:
|
|
|
# build:
|