From ebf827a956c411513f0d1dae161f982ceca9eab7 Mon Sep 17 00:00:00 2001 From: Hwting <837479851@qq.com> Date: Fri, 4 Jul 2025 20:03:03 +0800 Subject: [PATCH] fix(docker-compose):The old base image lost the curl command, and the image has been updated to fix this issue. Add Health Check (#8672) ### What problem does this PR solve? 1.The old base image lost the curl command, and an updated image was used to fix this issue (the service has been tested in the new version) 2.Add Health Check ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue) --- docker/docker-compose-base.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/docker/docker-compose-base.yml b/docker/docker-compose-base.yml index cdd5f9121..cf5c9b6b4 100644 --- a/docker/docker-compose-base.yml +++ b/docker/docker-compose-base.yml @@ -164,7 +164,7 @@ services: restart: on-failure minio: - image: quay.io/minio/minio:RELEASE.2023-12-20T01-00-02Z + image: quay.io/minio/minio container_name: ragflow-minio command: server --console-address ":9001" /data ports: @@ -180,6 +180,11 @@ services: networks: - ragflow restart: on-failure + healthcheck: + test: ["CMD", "curl", "-f", "http://localhost:9000/minio/health/live"] + interval: 30s + timeout: 20s + retries: 3 redis: # swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/valkey/valkey:8