mirror of
https://github.com/donaldzou/WGDashboard.git
synced 2025-10-25 11:56:24 +00:00
Refined logging output a bit.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user