Merge branch 'main' of http://49.232.154.205:10100/DeXun/wuhan-saga into main
This commit is contained in:
@@ -56,18 +56,18 @@ knife4j:
|
||||
setting:
|
||||
language: zh_cn
|
||||
|
||||
# 存储:local=本机 uploads | minio=对象存储,见 server/deploy/minio-spring-config.example.yml
|
||||
# 存储:local=本机 uploads | minio=对象存储(9000 为 API,不是控制台 9001)
|
||||
# 密钥可用环境变量覆盖:MINIO_ACCESS_KEY、MINIO_SECRET_KEY(勿将生产密码提交到公开仓库)
|
||||
upload:
|
||||
storage: local
|
||||
storage: minio
|
||||
path: uploads/
|
||||
allowed-types: image/jpeg,image/png,image/gif,image/webp,image/svg+xml,video/mp4,video/webm
|
||||
max-size: 52428800
|
||||
|
||||
# 仅 upload.storage=minio 时生效;密钥用环境变量注入,勿提交生产明文
|
||||
minio:
|
||||
endpoint: http://127.0.0.1:9000
|
||||
access-key: minioadmin
|
||||
secret-key: minioadmin
|
||||
endpoint: http://117.72.159.31:9000
|
||||
access-key: ${MINIO_ACCESS_KEY:minioadmin}
|
||||
secret-key: ${MINIO_SECRET_KEY:minioadmin}
|
||||
bucket: wuhan-saga
|
||||
region: us-east-1
|
||||
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user