fixed nats healthcheck
This commit is contained in:
@@ -34,11 +34,11 @@ services:
|
|||||||
- "0.0.0.0:${NATS_PORT}:${NATS_PORT}"
|
- "0.0.0.0:${NATS_PORT}:${NATS_PORT}"
|
||||||
- "0.0.0.0:${NATS_MONITORING_PORT}:${NATS_MONITORING_PORT}"
|
- "0.0.0.0:${NATS_MONITORING_PORT}:${NATS_MONITORING_PORT}"
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD","pidof","nats-server"]
|
test: wget http://localhost:8222/healthz -q -S -O -
|
||||||
interval: 15s
|
start_period: 3s
|
||||||
timeout: 5s
|
retries: 3
|
||||||
retries: 5
|
timeout: 3s
|
||||||
start_period: 10s
|
interval: 14s
|
||||||
networks:
|
networks:
|
||||||
- sendico-net
|
- sendico-net
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user