From 176a79e0cd870cb51caa8b40ed7a0d1b3ef4715d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Filip=20Krzy=C5=BCanowski?= Date: Tue, 24 Feb 2026 22:19:34 +0100 Subject: [PATCH] fix: replace curl with wget in pgadmin healthcheck The dpage/pgadmin4 image does not ship with curl, causing the healthcheck to fail with "executable file not found" and the container to be marked unhealthy (breaking Traefik discovery). Switched to wget --no-verbose --tries=1 --spider, consistent with other services in the project (traefik, mailpit). Also switched pgadmin middleware from strict-headers to relaxed-headers to match its routing requirements. Co-Authored-By: Claude Sonnet 4.6 --- docker-compose.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 7238424..a3d1ab6 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -148,7 +148,7 @@ services: volumes: - pgadmin_data:/var/lib/pgadmin healthcheck: - test: ["CMD", "curl", "-f", "http://localhost:80/misc/ping"] + test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:80/misc/ping"] interval: 30s timeout: 10s retries: 3 @@ -160,7 +160,7 @@ services: - "traefik.enable=true" - "traefik.http.routers.pgadmin.rule=Host(`pgadmin.docker.localhost`)" - "traefik.http.routers.pgadmin.tls=true" - - "traefik.http.routers.pgadmin.middlewares=strict-headers@file" + - "traefik.http.routers.pgadmin.middlewares=relaxed-headers@file" mailpit: image: axllent/mailpit:v1.29.1