fix: proper health check for nats
This commit is contained in:
parent
f4eb1bd4ca
commit
b79ae1c1c2
@ -57,7 +57,7 @@ services:
|
||||
ports:
|
||||
- "4222:4222"
|
||||
healthcheck:
|
||||
test: ["CMD", "nats", "ping"]
|
||||
test: ["CMD-SHELL", "nc -z localhost 4222 || exit 1"]
|
||||
interval: 5s
|
||||
retries: 5
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user