diff --git a/ci/prod/compose/nats.yml b/ci/prod/compose/nats.yml index 281e32e..7d7d5e5 100644 --- a/ci/prod/compose/nats.yml +++ b/ci/prod/compose/nats.yml @@ -34,11 +34,11 @@ services: - "0.0.0.0:${NATS_PORT}:${NATS_PORT}" - "0.0.0.0:${NATS_MONITORING_PORT}:${NATS_MONITORING_PORT}" healthcheck: - test: ["CMD","pidof","nats-server"] - interval: 15s - timeout: 5s - retries: 5 - start_period: 10s + test: wget http://localhost:8222/healthz -q -S -O - + start_period: 3s + retries: 3 + timeout: 3s + interval: 14s networks: - sendico-net