Add healthcheck for homeassisstant

This commit is contained in:
2025-07-16 22:42:04 +05:30
parent 5765d57aa1
commit 53076168b0

View File

@@ -13,3 +13,8 @@ services:
volumes:
- ${APPDATA_PATH}/homeassistant/config:/config # Configuration files
- /etc/localtime:/etc/localtime:ro # Sync host timezone for proper logging
healthcheck:
test: "curl --connect-timeout 10 --silent -f http://127.0.0.1:8123/ || exit 1"
interval: 45s
timeout: 30s
retries: 3