Healthcheck

This commit is contained in:
Alexandre
2023-03-10 22:34:19 +01:00
committed by GitHub
parent 34e8381f18
commit 7a7474831f

View File

@@ -129,3 +129,16 @@ LABEL \
org.opencontainers.image.created=${BUILD_DATE} \
org.opencontainers.image.revision=${BUILD_REF} \
org.opencontainers.image.version=${BUILD_VERSION}
#################
# 6 Healthcheck #
#################
ARG WEBUI_PORT=""
ARG URL=""
HEALTHCHECK \
--interval=5s \
--retries=5 \
--start-period=30s \
--timeout=25s \
CMD /etc/scripts/healthcheck.sh &>/dev/null || exit 1