diff --git a/core/archipelago/src/health_monitor.rs b/core/archipelago/src/health_monitor.rs index fbd79f4c..d59d4221 100644 --- a/core/archipelago/src/health_monitor.rs +++ b/core/archipelago/src/health_monitor.rs @@ -76,8 +76,12 @@ fn container_dependencies(name: &str) -> &'static [&'static str] { "fedimint" => &["bitcoin"], "fedimint-gateway" => &["bitcoin", "fedimint"], - // IndeedHub stack - "indeedhub-api" => &["indeedhub-postgres", "indeedhub-redis"], + // IndeedHub stack. The API needs MinIO (object storage) up before it + // can serve — without listing it the health monitor would restart the + // API while MinIO was still coming up, which is the "needs 1-2 restarts + // to recover" symptom (#41). MinIO has no deps of its own, so the + // monitor restarts it independently first; no deadlock. + "indeedhub-api" => &["indeedhub-postgres", "indeedhub-redis", "indeedhub-minio"], "indeedhub" => &["indeedhub-api"], "indeedhub-relay" => &["indeedhub-postgres"], "indeedhub-ffmpeg" => &["indeedhub-api"],