Skip to content

Open-source LLM knowledge platform: turn raw documents into a queryable RAG, an autonomous reasoning agent, and a self-maintaining Wiki.

fix: allow MINIO_ENDPOINT to be configured via environment variable

nullkey29de7dfbbd75
diff --git a/.env.example b/.env.example
index 5ee62a9d9..cf5623690 100644
--- a/.env.example
+++ b/.env.example
@@ -157,6 +157,9 @@ CONCURRENCY_POOL_SIZE=5
# QDRANT_USE_TLS=false
# 如果使用MinIO作为文件存储,需要配置以下参数
+# MinIO访问端点(host:port),连接外部MinIO时需修改
+# MINIO_ENDPOINT=minio:9000
+
# MinIO访问密钥
# MINIO_ACCESS_KEY_ID=your_minio_access_key
diff --git a/docker-compose.yml b/docker-compose.yml
index 00a859f15..e3a5ffc93 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -95,7 +95,7 @@ services:
- STORAGE_TYPE=${STORAGE_TYPE:-}
- LOCAL_STORAGE_BASE_DIR=${LOCAL_STORAGE_BASE_DIR:-}
- AUTO_RECOVER_DIRTY=${AUTO_RECOVER_DIRTY:-true}
- - MINIO_ENDPOINT=minio:9000
+ - MINIO_ENDPOINT=${MINIO_ENDPOINT:-minio:9000}
- MINIO_ACCESS_KEY_ID=${MINIO_ACCESS_KEY_ID:-minioadmin}
- MINIO_SECRET_ACCESS_KEY=${MINIO_SECRET_ACCESS_KEY:-minioadmin}
- MINIO_BUCKET_NAME=${MINIO_BUCKET_NAME:-}