towards healthchecks for all containers
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user