fixed nats healthcheck
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user