change healthcheck intervals
This commit is contained in:
parent
9a342cdb41
commit
46bcc974e6
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user