correct docker compose
This commit is contained in:
parent
542202883c
commit
05b49baae9
@ -15,12 +15,6 @@ services:
|
|||||||
- ADMIN_PASSWORD
|
- ADMIN_PASSWORD
|
||||||
- COOKIE_SECRET
|
- COOKIE_SECRET
|
||||||
- NODE_ENV=production
|
- NODE_ENV=production
|
||||||
healthcheck:
|
|
||||||
test: ["CMD", "sh", "-c", "[ -f /app/dist/index.html ] && wget -qO- http://localhost:3000/api/health || exit 1"]
|
|
||||||
interval: 10s
|
|
||||||
timeout: 5s
|
|
||||||
retries: 60
|
|
||||||
start_period: 120s
|
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
labels:
|
labels:
|
||||||
- traefik.enable=true
|
- traefik.enable=true
|
||||||
@ -36,9 +30,6 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- static:/usr/share/nginx/html:ro
|
- static:/usr/share/nginx/html:ro
|
||||||
- ./docker/nginx.conf:/etc/nginx/conf.d/default.conf:ro
|
- ./docker/nginx.conf:/etc/nginx/conf.d/default.conf:ro
|
||||||
depends_on:
|
|
||||||
fastify:
|
|
||||||
condition: service_healthy
|
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
labels:
|
labels:
|
||||||
- traefik.enable=true
|
- traefik.enable=true
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user