mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-18 14:51:50 +02:00
Healthcheck
This commit is contained in:
@@ -114,6 +114,11 @@ LABEL \
|
|||||||
# 6 HealthcheckNOT #
|
# 6 HealthcheckNOT #
|
||||||
####################
|
####################
|
||||||
|
|
||||||
HEALTHCHECK NONE
|
ENV HEALTH_PORT="" \
|
||||||
|
HEALTH_URL=""
|
||||||
# Can't be implemented as container is optimized for memory usage, so the webserver and Node are spun down during idle
|
HEALTHCHECK \
|
||||||
|
--interval=5s \
|
||||||
|
--retries=5 \
|
||||||
|
--start-period=90s \
|
||||||
|
--timeout=25s \
|
||||||
|
CMD pg_isready || exit 1
|
||||||
|
|||||||
Reference in New Issue
Block a user