docker-compose部署文件中如何配置接入华为云obs
x-share-db-config: &x-share-db-config
MONGODB_URI: mongodb://myusername:mypassword@mongo:27017/fastgpt?authSource=admin
DB_MAX_LINK: 100
REDIS_URL: redis://default:mypassword@redis:6379
# @see https://fastgpt.cn/docs/introduction/development/object-storage
STORAGE_VENDOR: minio # minio | aws-s3 | cos | oss
STORAGE_REGION: us-east-1
STORAGE_ACCESS_KEY_ID: minioadmin
STORAGE_SECRET_ACCESS_KEY: minioadmin
STORAGE_PUBLIC_BUCKET: fastgpt-public
STORAGE_PRIVATE_BUCKET: fastgpt-private
STORAGE_EXTERNAL_ENDPOINT: http://192.168.0.2:9000 # 一个服务器和客户端均可访问到存储桶的地址,可以是固定的宿主机 IP 或者域名,注意不要填写成 127.0.0.1 或者 localhost 等本地回环地址(因为容器里无法使用)
STORAGE_S3_ENDPOINT: http://fastgpt-minio:9000 # 协议://域名(IP):端口
STORAGE_S3_FORCE_PATH_STYLE: true
STORAGE_S3_MAX_RETRIES: 3
目前看到的配置里是没有华为云obs的,想请问下怎么接入,obs跟minio不大相同,访问地址是类似https://fastgpt-plulic.obs.cn-north-4.myhuaweicloud.com,如果是这样https://fastgpt-private.obs.cn-north-4.myhuaweicloud.com又没有地方填写了。
可以先试试用aws-s3的,然后把Path Style设置成false
不行,一直报错
This issue has not been updated for more than 90 days and is marked as stale. If there is no further activity within 7 days, it will be automatically closed. Please reply to this issue if you need to continue following up on it.
This issue has been automatically closed due to prolonged inactivity (more than 90 days plus a 7-day grace period). If this issue still needs to be resolved, you can reopen it and supplement the relevant information.