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