change healthcheck intervals

This commit is contained in:
knoflook 2022-09-27 18:15:50 +02:00
parent 9a342cdb41
commit 46bcc974e6
Signed by: knoflook
GPG Key ID: D6A1D0E8FC4FEF1C

View File

@ -12,7 +12,7 @@ services:
- DOMAIN
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost/"]
interval: 10s
interval: 30s
timeout: 3s
retries: 30
networks:
@ -60,7 +60,7 @@ services:
- REDIS_DB=0
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8000/api/"]
interval: 10s
interval: 30s
timeout: 3s
retries: 90
command: >
@ -108,7 +108,7 @@ services:
command: ["redis-server", "--appendonly", "yes"]
healthcheck:
test: ["CMD", "redis-cli", "ping"]
interval: 1s
interval: 10s
timeout: 3s
retries: 30
volumes:
@ -120,7 +120,7 @@ services:
image: "postgres:14-alpine"
healthcheck:
test: ["CMD-SHELL", "pg_isready -U karrot"]
interval: 1s
interval: 10s
timeout: 3s
retries: 30
configs: