Feat: Accessing Alibaba Cloud OSS with Amazon S3 SDK (#5438)

Accessing Alibaba Cloud OSS with Amazon S3 SDK
This commit is contained in:
hy89
2025-02-27 17:02:42 +08:00
committed by GitHub
parent 11de7599e5
commit 651422127c
7 changed files with 188 additions and 0 deletions

View File

@ -138,3 +138,11 @@ TIMEZONE='Asia/Shanghai'
# - `ERROR`
# For example, following line changes the log level of `ragflow.es_conn` to `DEBUG`:
# LOG_LEVELS=ragflow.es_conn=DEBUG
# aliyun OSS configuration
# STORAGE_IMPL=OSS
# ACCESS_KEY=xxx
# SECRET_KEY=eee
# ENDPOINT=http://oss-cn-hangzhou.aliyuncs.com
# REGION=cn-hangzhou
# BUCKET=ragflow65536

View File

@ -37,6 +37,12 @@ redis:
# access_key: 'access_key'
# secret_key: 'secret_key'
# region: 'region'
# oss:
# access_key: '${ACCESS_KEY}'
# secret_key: '${SECRET_KEY}'
# endpoint_url: '${ENDPOINT}'
# region: '${REGION}'
# bucket: '${BUCKET}'
# azure:
# auth_type: 'sas'
# container_url: 'container_url'