From 45815c27d92d92dfc82fdb97992958ece2071e0c Mon Sep 17 00:00:00 2001 From: Ilia Denisov Date: Mon, 1 Jun 2026 06:11:25 +0200 Subject: [PATCH] fix(dev-deploy): probe Mailpit /mailpit/livez under MP_WEBROOT MP_WEBROOT=/mailpit prefixes every Mailpit HTTP route, including the /livez health endpoint. The container healthcheck still probed http://localhost:8025/livez, which now 404s, so Mailpit reported unhealthy; the backend depends_on it with condition: service_healthy and never started, cascading to the gateway and Caddy and failing `docker compose up --wait`. Point the healthcheck at /mailpit/livez. --- tools/dev-deploy/docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/dev-deploy/docker-compose.yml b/tools/dev-deploy/docker-compose.yml index 3c44fbc..d9cf40e 100644 --- a/tools/dev-deploy/docker-compose.yml +++ b/tools/dev-deploy/docker-compose.yml @@ -84,7 +84,7 @@ services: volumes: - galaxy-dev-mailpit-config:/etc/mailpit:ro healthcheck: - test: ["CMD", "wget", "-q", "-O-", "http://localhost:8025/livez"] + test: ["CMD", "wget", "-q", "-O-", "http://localhost:8025/mailpit/livez"] interval: 3s timeout: 3s retries: 30