Refined logging output a bit.

This commit is contained in:
Dselen
2024-08-22 16:58:29 -05:00
parent 2e9ac00a42
commit e3771a1c53
2 changed files with 8 additions and 3 deletions

View File

@@ -59,7 +59,7 @@ RUN echo "[Interface]" > /setup/conf/wg0.conf \
&& echo "DNS = ${global_dns}" >> /setup/conf/wg0.conf
# Defining a way for Docker to check the health of the container. In this case: checking the login URL.
HEALTHCHECK --interval=2m --timeout=1m --start-period=5s --retries=3 \
HEALTHCHECK --interval=2m --timeout=1m --start-period=20s --retries=3 \
CMD [ "$(curl -s -o /dev/null -w '%{http_code}' http://localhost:10086/)" -eq "200" ] || exit 1