remove healthchecks from postgresql and redis services in docker-compose
This commit is contained in:
parent
127773c908
commit
11c3a44453
1 changed files with 2 additions and 14 deletions
|
|
@ -2,12 +2,6 @@ services:
|
||||||
postgresql:
|
postgresql:
|
||||||
image: docker.io/library/postgres:16-alpine
|
image: docker.io/library/postgres:16-alpine
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
healthcheck:
|
|
||||||
test: ["CMD-SHELL", "pg_isready -d $${POSTGRES_DB} -U $${POSTGRES_USER}"]
|
|
||||||
start_period: 20s
|
|
||||||
interval: 30s
|
|
||||||
retries: 5
|
|
||||||
timeout: 5s
|
|
||||||
volumes:
|
volumes:
|
||||||
- database:/var/lib/postgresql/data
|
- database:/var/lib/postgresql/data
|
||||||
environment:
|
environment:
|
||||||
|
|
@ -23,12 +17,6 @@ services:
|
||||||
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
|
restart: unless-stopped
|
||||||
healthcheck:
|
|
||||||
test: ["CMD-SHELL", "redis-cli ping | grep PONG"]
|
|
||||||
start_period: 20s
|
|
||||||
interval: 30s
|
|
||||||
retries: 5
|
|
||||||
timeout: 3s
|
|
||||||
volumes:
|
volumes:
|
||||||
- redis:/data
|
- redis:/data
|
||||||
networks:
|
networks:
|
||||||
|
|
@ -51,10 +39,10 @@ services:
|
||||||
- .env
|
- .env
|
||||||
networks:
|
networks:
|
||||||
- internal
|
- internal
|
||||||
- proxy # Moet in proxy netwerk om door Traefik gezien te worden
|
- proxy
|
||||||
labels:
|
labels:
|
||||||
- "traefik.enable=true"
|
- "traefik.enable=true"
|
||||||
# De URL waarop Authentik bereikbaar wordt:
|
# Jouw nieuwe URL
|
||||||
- "traefik.http.routers.authentik.rule=Host(`authentik.stackbabber.nl`)"
|
- "traefik.http.routers.authentik.rule=Host(`authentik.stackbabber.nl`)"
|
||||||
- "traefik.http.routers.authentik.entrypoints=web"
|
- "traefik.http.routers.authentik.entrypoints=web"
|
||||||
- "traefik.http.services.authentik.loadbalancer.server.port=9000"
|
- "traefik.http.services.authentik.loadbalancer.server.port=9000"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue