FIX: Mosquitto healthcheck - replace bash with nc

This commit is contained in:
Eric FELIXINE
2026-05-07 15:14:51 -04:00
parent 5a5234f868
commit be13c9a2d7
2 changed files with 18321 additions and 1 deletions

View File

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

File diff suppressed because it is too large Load Diff