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