Remove OSRM healthcheck — image has no curl/wget/nc

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 <noreply@anthropic.com>
This commit is contained in:
chris 2026-04-13 18:47:31 -04:00
parent 2f7123af21
commit c8fc15be86

View File

@ -8,12 +8,6 @@ services:
volumes: volumes:
- ./docker/osrm/data:/data - ./docker/osrm/data:/data
command: osrm-routed --algorithm mld /data/connecticut-latest.osrm 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: balloons-shop:
build: . build: .
@ -24,8 +18,7 @@ services:
- .env - .env
restart: unless-stopped restart: unless-stopped
depends_on: depends_on:
osrm: - osrm
condition: service_healthy
healthcheck: healthcheck:
test: ["CMD", "wget", "-qO-", "http://localhost:3000/api/catalog"] test: ["CMD", "wget", "-qO-", "http://localhost:3000/api/catalog"]
interval: 30s interval: 30s