towards healthchecks for all containers

This commit is contained in:
2026-02-04 18:11:49 +01:00
parent 7f45788b3d
commit ab2f707706
42 changed files with 245 additions and 19 deletions

View File

@@ -12,3 +12,8 @@ services:
- /opt/mosquitto/log:/mosquitto/log
extra_hosts:
- "host:${HOST_IP}"
healthcheck:
test: ["CMD-SHELL", "mosquitto_sub -t '$SYS/#' -C 1 -i healthcheck || exit 1"]
interval: 30s
timeout: 10s
retries: 3