pangea: less greedy services
This commit is contained in:
parent
1a8a81e27f
commit
d98c21ef42
|
@ -103,7 +103,6 @@ services:
|
||||||
# https://goauthentik.io/docker-compose.yml
|
# https://goauthentik.io/docker-compose.yml
|
||||||
ga_postgresql:
|
ga_postgresql:
|
||||||
image: docker.io/library/postgres:12-alpine
|
image: docker.io/library/postgres:12-alpine
|
||||||
restart: unless-stopped
|
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD-SHELL", "pg_isready -d $${POSTGRES_DB} -U $${POSTGRES_USER}"]
|
test: ["CMD-SHELL", "pg_isready -d $${POSTGRES_DB} -U $${POSTGRES_USER}"]
|
||||||
start_period: 20s
|
start_period: 20s
|
||||||
|
@ -121,7 +120,6 @@ services:
|
||||||
ga_redis:
|
ga_redis:
|
||||||
image: docker.io/library/redis:alpine
|
image: docker.io/library/redis:alpine
|
||||||
command: --save 60 1 --loglevel warning
|
command: --save 60 1 --loglevel warning
|
||||||
restart: unless-stopped
|
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD-SHELL", "redis-cli ping | grep PONG"]
|
test: ["CMD-SHELL", "redis-cli ping | grep PONG"]
|
||||||
start_period: 20s
|
start_period: 20s
|
||||||
|
@ -132,7 +130,6 @@ services:
|
||||||
- ga_redis:/data
|
- ga_redis:/data
|
||||||
ga_server:
|
ga_server:
|
||||||
image: ${AUTHENTIK_AUTHENTIK_IMAGE:-ghcr.io/goauthentik/server}:${AUTHENTIK_AUTHENTIK_TAG:-2023.10.5}
|
image: ${AUTHENTIK_AUTHENTIK_IMAGE:-ghcr.io/goauthentik/server}:${AUTHENTIK_AUTHENTIK_TAG:-2023.10.5}
|
||||||
restart: unless-stopped
|
|
||||||
command: server
|
command: server
|
||||||
environment:
|
environment:
|
||||||
AUTHENTIK_REDIS__HOST: ga_redis
|
AUTHENTIK_REDIS__HOST: ga_redis
|
||||||
|
@ -163,7 +160,6 @@ services:
|
||||||
- ga_redis
|
- ga_redis
|
||||||
ga_worker:
|
ga_worker:
|
||||||
image: ${AUTHENTIK_AUTHENTIK_IMAGE:-ghcr.io/goauthentik/server}:${AUTHENTIK_AUTHENTIK_TAG:-2023.10.5}
|
image: ${AUTHENTIK_AUTHENTIK_IMAGE:-ghcr.io/goauthentik/server}:${AUTHENTIK_AUTHENTIK_TAG:-2023.10.5}
|
||||||
restart: unless-stopped
|
|
||||||
command: worker
|
command: worker
|
||||||
environment:
|
environment:
|
||||||
AUTHENTIK_REDIS__HOST: ga_redis
|
AUTHENTIK_REDIS__HOST: ga_redis
|
||||||
|
|
Reference in New Issue