refactor: 用 RustFS S3 替代 MinIO 并优化 OSS endpoint 协议处理
This commit is contained in:
@@ -108,8 +108,8 @@ security:
|
||||
|
||||
# 文件存储
|
||||
file-storage:
|
||||
# 存储类型:minio | aliyun | local
|
||||
type: minio
|
||||
# 存储类型:rustfs | aliyun | local
|
||||
type: rustfs
|
||||
# 上传限制
|
||||
upload:
|
||||
# 单文件大小上限(同时作为 spring.servlet.multipart 的上限,单一来源)
|
||||
@@ -120,8 +120,8 @@ file-storage:
|
||||
- jpeg
|
||||
- png
|
||||
- gif
|
||||
# MinIO 对象存储
|
||||
minio:
|
||||
# RustFS(S3) 对象存储
|
||||
rustfs:
|
||||
endpoint: http://111.229.83.153:9000
|
||||
access-key: bybaddp7zyARpgNbEGKf
|
||||
secret-key: p9rBdQZPBIJcMH23iyFkZkXmmawbmwPlk3JLlaaj
|
||||
|
||||
Reference in New Issue
Block a user