From 623a850976156a3c9c3541f86c9421321807aae8 Mon Sep 17 00:00:00 2001 From: naterfute Date: Sun, 6 Apr 2025 00:57:41 -0700 Subject: [PATCH] feat: add healthcheck to minio --- blueprints/plane/docker-compose.yml | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/blueprints/plane/docker-compose.yml b/blueprints/plane/docker-compose.yml index 3c19c49..b6a4180 100644 --- a/blueprints/plane/docker-compose.yml +++ b/blueprints/plane/docker-compose.yml @@ -116,13 +116,25 @@ services: - uploads:/export env_file: - .env - + healthcheck: + test: ["CMD", "curl", "-f", "http://localhost:9000/minio/health/live"] + interval: 30s + timeout: 20s + retries: 3 + start_period: 15s proxy: image: makeplane/plane-proxy:${APP_RELEASE:-v0.25.3} depends_on: - - web - - api - - space + web: + condition: service_started + api: + condition: service_started + space: + condition: service_started + plane-minio: + condition: service_healthy + plane-db: + condition: service_started env_file: - .env