feat: add STORAGE_ALLOW_LIST env var
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user