From b8ef374a31391a8c566bb99f2774c6a2a3eba230 Mon Sep 17 00:00:00 2001 From: Vantz Stockwell Date: Sun, 15 Feb 2026 01:32:25 -0500 Subject: [PATCH] =?UTF-8?q?fix:=20Remove=20NATS=20healthcheck=20=E2=80=94?= =?UTF-8?q?=20use=20service=5Fstarted=20instead?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit NATS minimal image has no shell tools for health probes. The API already handles NATS unavailability gracefully, so service_started is sufficient. Co-Authored-By: Claude Opus 4.6 --- docker/docker-compose.yml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index 767f299..f3639bc 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -28,12 +28,6 @@ services: - ./nats.conf:/etc/nats/nats.conf:ro ports: - "8089:4222" # Client connections - healthcheck: - test: ["CMD-SHELL", "echo > /dev/tcp/localhost/4222 || exit 1"] - interval: 5s - timeout: 3s - retries: 5 - start_period: 5s api: build: @@ -62,7 +56,7 @@ services: postgres: condition: service_healthy nats: - condition: service_healthy + condition: service_started ports: - "8088:3000"