From 85b33026e7767a01d54e11661a03aa34d2fc2a3c Mon Sep 17 00:00:00 2001 From: Paperclip FoundingEngineer Date: Sun, 3 May 2026 00:52:41 +0000 Subject: [PATCH] fix(web): replace wget --spider with wget -qO /dev/null (BusyBox alpine compat) wget --spider is GNU wget only; nginx:alpine uses BusyBox wget which does not support --spider, causing the container healthcheck to fail and Traefik to return 503 for dashboard.barodine.net. Co-Authored-By: Paperclip --- compose.coolify.yml | 2 +- web/Dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/compose.coolify.yml b/compose.coolify.yml index 5843694..d7e3b2f 100644 --- a/compose.coolify.yml +++ b/compose.coolify.yml @@ -116,7 +116,7 @@ services: - 'traefik.http.middlewares.agenthub-dashboard-headers.headers.customrequestheaders.X-Forwarded-Proto=https' - 'traefik.http.routers.agenthub-dashboard.middlewares=agenthub-dashboard-headers' healthcheck: - test: ['CMD', 'wget', '--no-verbose', '--tries=1', '--spider', 'http://localhost/healthz'] + test: ['CMD', 'wget', '-qO', '/dev/null', 'http://localhost/healthz'] interval: 30s timeout: 5s retries: 3 diff --git a/web/Dockerfile b/web/Dockerfile index 1dccb07..e063cd0 100644 --- a/web/Dockerfile +++ b/web/Dockerfile @@ -83,6 +83,6 @@ EOF EXPOSE 80 HEALTHCHECK --interval=30s --timeout=5s --retries=3 --start-period=5s \ - CMD wget --no-verbose --tries=1 --spider http://localhost/healthz || exit 1 + CMD wget -qO /dev/null http://localhost/healthz || exit 1 CMD ["nginx", "-g", "daemon off;"]