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:
Andy Dixon
2026-10-11 23:53:07 +01:00
parent 1f6b760f72
commit 8ba9d98197
+3 -1
View File
@@ -13,7 +13,9 @@ services:
- noema-pgdata:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U noema"]
interval: 5s
interval: 30s
start_period: 60s
start_interval: 2s
timeout: 3s
retries: 20