FIX: Mosquitto healthcheck - replace bash with nc
This commit is contained in:
@@ -18,7 +18,7 @@ services:
|
||||
- mosquitto-logs:/mosquitto/log
|
||||
command: mosquitto -c /mosquitto/config/mosquitto.conf
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "bash -c 'cat < /dev/tcp/localhost/1883'"]
|
||||
test: ["CMD", "nc", "-z", "localhost", "1883"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
|
||||
Reference in New Issue
Block a user