https://gitee.com/qiangesoft/rdp-starter/tree/master/rdp-starter-minio

<dependency>
<groupId>com.qiangesoft.rdpgroupId>
<artifactId>rdp-starter-minioartifactId>
<version>1.0.0version>
dependency>
# minio配置
rdp:
minio:
# minio服务(必需)
endpoint: http://127.0.0.1:9000/
# 地区
region:
# minio管理端创建的accessKey(必需)
access-key: accessKey
# minio管理端创建的secretKey(必需)
secret-key: secretKey
# 存储模式,生成文件存储路径,默认为按月存储
store: MONTH
# 桶访问权限,默认可读写
access: READ_WRITE
connect-timeout: 6000
write-timeout: 2000
read-timeout: 2000
# 桶列表,至少配置一个默认的桶(必需)
buckets:
- name: test
access: READ_WRITE
is-default: true
@Autowired
private MinioTemplate minioTemplate;