fix: Replace NATS healthcheck — ldm signal was triggering shutdown

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 <noreply@anthropic.com>
This commit is contained in:
Vantz Stockwell
2026-02-15 01:20:33 -05:00
parent 68f399659b
commit 4df4a0a2cd

View File

@@ -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: