add healthcheck

pull/106/head
Jeff Culverhouse 11 months ago
parent 7ffeb433e4
commit 4ebcea7b19

@ -18,3 +18,8 @@ services:
HOME_ASSISTANT: true HOME_ASSISTANT: true
DEVICE_UPDATE_INTERVAL: 600 DEVICE_UPDATE_INTERVAL: 600
DEBUG_MODE: false DEBUG_MODE: false
healthcheck:
test: ["CMD", "pgrep", "-f", "[P]ython -u app.py"]
interval: 30s
timeout: 10s
retries: 3

Loading…
Cancel
Save