From 8e83cc0dc7934b5073d3449da53faed1ed5914bf Mon Sep 17 00:00:00 2001 From: Arnaud Date: Sun, 12 Jul 2026 01:44:59 +0200 Subject: [PATCH] fix: wait for minio-init before starting web MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit web only depended on minio being healthy, not on minio-init having created the upload bucket — a race on cold deploys, and likely why the deploy tool flagged minio-init's exit(0) as an anomaly (it wasn't wired into the dependency graph the way migrate is). Co-Authored-By: Claude Sonnet 5 --- compose.prod.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/compose.prod.yml b/compose.prod.yml index 28a9e7e..ca1c47a 100644 --- a/compose.prod.yml +++ b/compose.prod.yml @@ -122,6 +122,8 @@ services: condition: service_started minio: condition: service_healthy + minio-init: + condition: service_completed_successfully # Fires the weekly digest email send by POSTing to `web`'s internal cron # route on a schedule (see cron/crontab). Tiny alpine+curl+crond