fix: proper health check for nats

This commit is contained in:
murdle 2026-02-28 19:57:59 +02:00
parent f4eb1bd4ca
commit b79ae1c1c2

View File

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