From f599a37964a1c237cba7d134a405f6d1be87e5f7 Mon Sep 17 00:00:00 2001 From: Matt Date: Mon, 26 Jan 2026 11:47:24 +0100 Subject: [PATCH] Remove shell-based healthchecks for minimal images - PostgREST and postgres-meta images don't have /bin/sh - Removed CMD-SHELL healthchecks that were causing unhealthy status - Changed dependent services from service_healthy to service_started Co-Authored-By: Claude Opus 4.5 --- deploy/docker-compose.yml | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/deploy/docker-compose.yml b/deploy/docker-compose.yml index 09860e2..dc7c8aa 100644 --- a/deploy/docker-compose.yml +++ b/deploy/docker-compose.yml @@ -71,7 +71,7 @@ services: SUPABASE_SERVICE_KEY: ${SERVICE_ROLE_KEY} depends_on: meta: - condition: service_healthy + condition: service_started networks: - monacousa-network logging: @@ -184,12 +184,6 @@ services: depends_on: db: condition: service_healthy - healthcheck: - test: ["CMD-SHELL", "exit 0"] - interval: 30s - timeout: 5s - retries: 3 - start_period: 10s networks: - monacousa-network logging: @@ -259,7 +253,7 @@ services: db: condition: service_healthy rest: - condition: service_healthy + condition: service_started healthcheck: test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:5000/status"] interval: 10s @@ -317,12 +311,6 @@ services: depends_on: db: condition: service_healthy - healthcheck: - test: ["CMD-SHELL", "exit 0"] - interval: 30s - timeout: 5s - retries: 3 - start_period: 10s networks: - monacousa-network logging: