[add] file storage service
This commit is contained in:
@@ -75,6 +75,23 @@ ENABLE_SINGLE_SESSION=
|
||||
MAX_FILE_SIZE=52428800 # 50MB:10 * 1024 * 1024
|
||||
FILE_PATH=/files
|
||||
|
||||
# Storage Backend Configuration
|
||||
# Supported values: local, oss, s3
|
||||
# Default: local
|
||||
STORAGE_TYPE=local
|
||||
|
||||
# Aliyun OSS Configuration (required when STORAGE_TYPE=oss)
|
||||
OSS_ENDPOINT=https://oss-cn-hangzhou.aliyuncs.com
|
||||
OSS_ACCESS_KEY_ID=your_oss_access_key_id
|
||||
OSS_ACCESS_KEY_SECRET=your_oss_access_key_secret
|
||||
OSS_BUCKET_NAME=your_bucket_name
|
||||
|
||||
# AWS S3 Configuration (required when STORAGE_TYPE=s3)
|
||||
S3_REGION=us-east-1
|
||||
S3_ACCESS_KEY_ID=your_s3_access_key_id
|
||||
S3_SECRET_ACCESS_KEY=your_s3_secret_access_key
|
||||
S3_BUCKET_NAME=your_bucket_name
|
||||
|
||||
# RAG Setting
|
||||
DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=1
|
||||
HF_ENDPOINT=https://hf-mirror.com
|
||||
|
||||
Reference in New Issue
Block a user