mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-06 23:55:56 +02:00
Increase healthcheck wait
https://github.com/alexbelgium/hassio-addons/issues/956
This commit is contained in:
@@ -24,6 +24,7 @@ FROM ${BUILD_FROM}${BUILD_UPSTREAM}
|
|||||||
# 2 Modify Image #
|
# 2 Modify Image #
|
||||||
##################
|
##################
|
||||||
|
|
||||||
|
|
||||||
# Set S6 wait time
|
# Set S6 wait time
|
||||||
ENV S6_CMD_WAIT_FOR_SERVICES=1 \
|
ENV S6_CMD_WAIT_FOR_SERVICES=1 \
|
||||||
S6_CMD_WAIT_FOR_SERVICES_MAXTIME=0 \
|
S6_CMD_WAIT_FOR_SERVICES_MAXTIME=0 \
|
||||||
@@ -184,6 +185,6 @@ ENV HEALTH_PORT="80" \
|
|||||||
HEALTHCHECK \
|
HEALTHCHECK \
|
||||||
--interval=5s \
|
--interval=5s \
|
||||||
--retries=5 \
|
--retries=5 \
|
||||||
--start-period=30s \
|
--start-period=120s \
|
||||||
--timeout=25s \
|
--timeout=45s \
|
||||||
CMD curl --fail "http://127.0.0.1:${HEALTH_PORT}${HEALTH_URL}" &>/dev/null || curl --fail http://127.0.0.1:443 || exit 1
|
CMD curl --fail "http://127.0.0.1:${HEALTH_PORT}${HEALTH_URL}" &>/dev/null || curl --fail http://127.0.0.1:443 || exit 1
|
||||||
|
|||||||
Reference in New Issue
Block a user