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:
- ./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