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:
|
||||
image: docker.io/library/postgres:16-alpine
|
||||
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:
|
||||
- database:/var/lib/postgresql/data
|
||||
environment:
|
||||
|
|
@ -23,12 +17,6 @@ services:
|
|||
image: docker.io/library/redis:alpine
|
||||
command: --save 60 1 --loglevel warning
|
||||
restart: unless-stopped
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "redis-cli ping | grep PONG"]
|
||||
start_period: 20s
|
||||
interval: 30s
|
||||
retries: 5
|
||||
timeout: 3s
|
||||
volumes:
|
||||
- redis:/data
|
||||
networks:
|
||||
|
|
@ -51,10 +39,10 @@ services:
|
|||
- .env
|
||||
networks:
|
||||
- internal
|
||||
- proxy # Moet in proxy netwerk om door Traefik gezien te worden
|
||||
- proxy
|
||||
labels:
|
||||
- "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.entrypoints=web"
|
||||
- "traefik.http.services.authentik.loadbalancer.server.port=9000"
|
||||
|
|
|
|||
Loading…
Reference in a new issue