From c8fc15be862734aeef12af9056bfcd3e5a59ef0d Mon Sep 17 00:00:00 2001 From: chris Date: Mon, 13 Apr 2026 18:47:31 -0400 Subject: [PATCH] =?UTF-8?q?Remove=20OSRM=20healthcheck=20=E2=80=94=20image?= =?UTF-8?q?=20has=20no=20curl/wget/nc?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The osrm-backend image is too minimal to run any health probe. Drop the healthcheck entirely and use a plain depends_on so the shop starts after OSRM, without blocking on a health condition that can never pass. Co-Authored-By: Claude Sonnet 4.6 --- docker-compose.yml | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index bc23a30..32d0dbd 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -8,12 +8,6 @@ services: volumes: - ./docker/osrm/data:/data command: osrm-routed --algorithm mld /data/connecticut-latest.osrm - healthcheck: - test: ["CMD-SHELL", "curl -sf http://localhost:5000/ || exit 1"] - interval: 15s - timeout: 5s - retries: 5 - start_period: 30s balloons-shop: build: . @@ -24,8 +18,7 @@ services: - .env restart: unless-stopped depends_on: - osrm: - condition: service_healthy + - osrm healthcheck: test: ["CMD", "wget", "-qO-", "http://localhost:3000/api/catalog"] interval: 30s