From 8ba9d98197084b5862f90c6a0503968b95e7932d Mon Sep 17 00:00:00 2001 From: Andy Dixon Date: Sun, 11 Oct 2026 23:53:07 +0100 Subject: [PATCH] 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. --- deploy/docker-compose.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/deploy/docker-compose.yml b/deploy/docker-compose.yml index 74a79e8..9703f3f 100644 --- a/deploy/docker-compose.yml +++ b/deploy/docker-compose.yml @@ -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