From 4df4a0a2cda12d99c74b5ab10fe97210e05c9253 Mon Sep 17 00:00:00 2001 From: Vantz Stockwell Date: Sun, 15 Feb 2026 01:20:33 -0500 Subject: [PATCH] =?UTF-8?q?fix:=20Replace=20NATS=20healthcheck=20=E2=80=94?= =?UTF-8?q?=20ldm=20signal=20was=20triggering=20shutdown?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The old healthcheck used nats-server --signal ldm which puts NATS into lame duck (shutdown) mode. Use the /healthz HTTP endpoint instead. Co-Authored-By: Claude Opus 4.6 --- docker/docker-compose.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index 3c75b20..c0424ea 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -29,10 +29,10 @@ services: ports: - "8089:4222" # Client connections healthcheck: - test: ["CMD", "nats-server", "--signal", "ldm"] - interval: 10s + test: ["CMD-SHELL", "wget -qO- http://localhost:8222/healthz || exit 1"] + interval: 5s timeout: 5s - retries: 3 + retries: 5 api: build: