From b79ae1c1c2039b90ad26f34af085d0100519c984 Mon Sep 17 00:00:00 2001 From: murdle Date: Sat, 28 Feb 2026 19:57:59 +0200 Subject: [PATCH] fix: proper health check for nats --- compose.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compose.yaml b/compose.yaml index 9e7a1f90..ffb03f70 100644 --- a/compose.yaml +++ b/compose.yaml @@ -57,7 +57,7 @@ services: ports: - "4222:4222" healthcheck: - test: ["CMD", "nats", "ping"] + test: ["CMD-SHELL", "nc -z localhost 4222 || exit 1"] interval: 5s retries: 5