From d4222a650c76cb472bdbff3d48e644759e5638d4 Mon Sep 17 00:00:00 2001 From: Vantz Stockwell Date: Sun, 15 Feb 2026 01:26:41 -0500 Subject: [PATCH] fix: Use TCP port check for NATS healthcheck NATS image has no wget/curl. Use bash TCP check on port 4222 instead. Co-Authored-By: Claude Opus 4.6 --- docker/docker-compose.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index c0424ea..767f299 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -29,10 +29,11 @@ services: ports: - "8089:4222" # Client connections healthcheck: - test: ["CMD-SHELL", "wget -qO- http://localhost:8222/healthz || exit 1"] + test: ["CMD-SHELL", "echo > /dev/tcp/localhost/4222 || exit 1"] interval: 5s - timeout: 5s + timeout: 3s retries: 5 + start_period: 5s api: build: