diff --git a/ci/prod/compose/nats.yml b/ci/prod/compose/nats.yml index 09eeffc..5a6b8ae 100644 --- a/ci/prod/compose/nats.yml +++ b/ci/prod/compose/nats.yml @@ -34,7 +34,7 @@ services: - "0.0.0.0:${NATS_PORT}:${NATS_PORT}" - "0.0.0.0:${NATS_MONITORING_PORT}:${NATS_MONITORING_PORT}" healthcheck: - test: ["CMD-SHELL","wget -qO- http://localhost:${NATS_MONITORING_PORT}/healthz >/dev/null"] + test: ["CMD","nats-server","--signal","l"] interval: 15s timeout: 5s retries: 5