feat: add STORAGE_ALLOW_LIST env var

This commit is contained in:
Windfarer
2026-04-29 18:58:09 +08:00
parent 2beb64c429
commit 6601a483be
9 changed files with 198 additions and 33 deletions
+3
View File
@@ -37,6 +37,9 @@ DB_DRIVER=postgres
# 向量存储类型(postgres/elasticsearch_v7/elasticsearch_v8/qdrant/milvus/weaviate)
RETRIEVE_DRIVER=postgres
# 允许用户使用哪些文件存储类型,使用逗号分隔,留空则允许所有类型的存储
# STORAGE_ALLOW_LIST=local,minio,cos,tos,s3
# 文件存储类型(local/minio/cos/tos/s3)
STORAGE_TYPE=local