From e7e5d4126a297301df7e772d1d305174c1365143 Mon Sep 17 00:00:00 2001 From: Zaid Marzguioui Date: Tue, 31 Mar 2026 18:30:06 +0200 Subject: [PATCH] fix(docker): fix healthchecks for PostgREST, Storage, Studio MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - PostgREST: replace wget healthcheck with TCP socket check — PostgREST v12 is a minimal image without wget/curl - All services: add start_period to healthchecks to avoid premature unhealthy marking during initial startup --- docker-compose.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 0cfba3864..f6de588bc 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -134,10 +134,11 @@ services: PGRST_JWT_SECRET: ${JWT_SECRET} PGRST_DB_USE_LEGACY_GUCS: "false" healthcheck: - test: ["CMD-SHELL", "wget --no-verbose --tries=1 --spider http://localhost:3000/ || exit 1"] + test: ["CMD-SHELL", "head -c0