1 Commits

Author SHA1 Message Date
e86398d464 fix postgres healthcheck 2026-01-28 01:32:08 +01:00

View File

@ -126,7 +126,7 @@ services:
deploy:
labels:
- "traefik.enable=true"
- "traefik.swarm.network=proxy"
- "traefik.docker.network=proxy"
- "traefik.http.services.${STACK_NAME}.loadbalancer.server.port=8080"
- "traefik.http.routers.${STACK_NAME}.rule=Host(`${DOMAIN}`${EXTRA_DOMAINS})"
- "traefik.http.routers.${STACK_NAME}.entrypoints=web-secure"
@ -168,7 +168,7 @@ services:
secrets:
- db_password
healthcheck:
test: ["CMD", "pg_isready", "-U", "zammad"]
test: ["CMD", "pg_isready", "-U", "zammad", "-d", "zammad_production"]
interval: 30s
timeout: 10s
retries: 10