fix: allow MINIO_ENDPOINT to be configured via environment variable

Previously MINIO_ENDPOINT was hardcoded to minio:9000 in docker-compose.yml,
preventing users from connecting to an external MinIO service. Now it supports
override via .env while keeping the same default for backward compatibility.
This commit is contained in:
nullkey
2026-04-03 17:17:58 +08:00
committed by lyingbug
parent 7604b793eb
commit 29de7dfbbd
2 changed files with 4 additions and 1 deletions

View File

@@ -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

View File

@@ -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:-}