add container depedencies
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Moritz 2023-12-18 08:50:37 +01:00
parent 427644df38
commit d01c539c4f

View File

@ -34,6 +34,9 @@ services:
app: app:
image: ghcr.io/goauthentik/server:2023.8.5 image: ghcr.io/goauthentik/server:2023.8.5
command: server command: server
depends_on:
- db
- redis
secrets: secrets:
- db_password - db_password
- admin_pass - admin_pass
@ -79,6 +82,9 @@ services:
worker: worker:
image: ghcr.io/goauthentik/server:2023.8.5 image: ghcr.io/goauthentik/server:2023.8.5
command: worker command: worker
depends_on:
- db
- redis
secrets: secrets:
- db_password - db_password
- admin_pass - admin_pass
@ -144,7 +150,7 @@ services:
networks: networks:
- internal - internal
healthcheck: healthcheck:
test: ["CMD", "redis-cli","ping"] test: ["CMD-SHELL", "redis-cli ping | grep PONG"]
interval: 30s interval: 30s
timeout: 10s timeout: 10s
retries: 10 retries: 10