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