Implement healthcheck

This commit is contained in:
Alexandre
2023-03-09 15:57:56 +01:00
committed by GitHub
parent 2f9e089780
commit f3e6effcbb

View File

@@ -131,4 +131,4 @@ LABEL \
#################
ARG WEBUI_PORT="9000"
HEALTHCHECK CMD wget --no-verbose --tries=1 --spider http://localhost:"$WEBUI_PORT" || exit 1
HEALTHCHECK CMD curl --fail http://127.0.0.1:"$WEBUI_PORT" || exit 1