From 9ab6347eb5d0d6c7b545b7685e8096a83a91c819 Mon Sep 17 00:00:00 2001 From: Joseph Kisler Date: Wed, 17 Dec 2025 12:40:19 +0100 Subject: [PATCH] Fix healthcheck - check webserver response only --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 7553f4f..0280022 100644 --- a/Dockerfile +++ b/Dockerfile @@ -31,8 +31,8 @@ COPY --chown=www-data:www-data . . # Install Composer dependencies (production) RUN composer install --no-dev --optimize-autoloader --no-interaction -# Health check -HEALTHCHECK --interval=30s --timeout=10s --start-period=30s --retries=3 \ - CMD curl -fsS http://localhost/wp/wp-login.php || exit 1 +# Health check - prüft nur ob Webserver antwortet +HEALTHCHECK --interval=30s --timeout=10s --start-period=60s --retries=3 \ + CMD curl -fsS http://localhost/ -o /dev/null || exit 1 EXPOSE 80