db healthcheck: every 30s after start-up (was every 5s)
start_interval keeps start-up gating fast; the steady-state probe no longer execs pg_isready through dockerd 12 times a minute.
This commit is contained in:
@@ -13,7 +13,9 @@ services:
|
|||||||
- noema-pgdata:/var/lib/postgresql/data
|
- noema-pgdata:/var/lib/postgresql/data
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD-SHELL", "pg_isready -U noema"]
|
test: ["CMD-SHELL", "pg_isready -U noema"]
|
||||||
interval: 5s
|
interval: 30s
|
||||||
|
start_period: 60s
|
||||||
|
start_interval: 2s
|
||||||
timeout: 3s
|
timeout: 3s
|
||||||
retries: 20
|
retries: 20
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user