fixed nats healthcheck
Some checks failed
ci/woodpecker/push/db Pipeline was successful
ci/woodpecker/push/nats Pipeline failed

This commit is contained in:
Stephan D
2025-11-07 16:07:31 +01:00
parent 8b427e42c8
commit 49cdd8cbee

View File

@@ -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