towards healthchecks for all containers

This commit is contained in:
2026-02-04 18:11:49 +01:00
parent 7f45788b3d
commit ab2f707706
42 changed files with 245 additions and 19 deletions

View File

@@ -55,6 +55,12 @@ services:
- authentik-redis
extra_hosts:
- "host:${HOST_IP}"
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:9000/-/health/live/"]
interval: 30s
timeout: 10s
retries: 3
start_period: 60s
authentik-worker:
image: ${AUTHENTIK_IMAGE:-ghcr.io/goauthentik/server}:${AUTHENTIK_TAG:-2025.8.1}
@@ -75,3 +81,9 @@ services:
depends_on:
- authentik-postgres
- authentik-redis
healthcheck:
test: ["CMD-SHELL", "ps aux | grep '[c]elery' || exit 1"]
interval: 30s
timeout: 5s
retries: 3
start_period: 30s