From ad5a0e51fd347679ff972ab88f396c3813a0b701 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Sun, 5 Jan 2025 15:44:53 +0100 Subject: [PATCH] Suppress messages --- webtrees/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/webtrees/Dockerfile b/webtrees/Dockerfile index e12204f065c..57d14a98789 100644 --- a/webtrees/Dockerfile +++ b/webtrees/Dockerfile @@ -135,4 +135,5 @@ HEALTHCHECK \ --retries=5 \ --start-period=30s \ --timeout=25s \ - CMD /docker-healthcheck.sh + CMD curl -A "HealthCheck: Docker/1.0" -s -f "http://127.0.0.1:${HEALTH_PORT}${HEALTH_URL}" &>/dev/null || \ + curl -A "HealthCheck: Docker/1.0" -s -f "http://127.0.0.1:443" &>/dev/null || exit 1