refactor: 用 RustFS S3 替代 MinIO 并优化 OSS endpoint 协议处理

This commit is contained in:
Ray.Hao
2026-08-25 08:21:10 +08:00
parent 7ecbc16b69
commit 6da8ea0fca
9 changed files with 270 additions and 195 deletions

View File

@@ -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