sean.zhou
2022-03-29 a9db6c9a9bc010e612b7b5089a0c77b4a074e01f
src/main/resources/application.yml
@@ -7,7 +7,7 @@
    druid:
      type: com.alibaba.druid.pool.DruidDataSource
      driver-class-name: com.mysql.cj.jdbc.Driver
      url: jdbc:mysql://localhost:3306/cloud_sample?useSSL=false
      url: jdbc:mysql://localhost:3306/cloud_sample?useSSL=false&allowPublicKeyRetrieval=true
      username: root
      password: root
      initial-size: 10
@@ -30,7 +30,7 @@
mqtt:
  protocol: tcp
  host: Please enter your IP.
  host: Please enter the address of the emqx server. # Example: 192.168.1.1
  port: 1883
  username: JavaServer
  password: 123456
@@ -55,17 +55,18 @@
    prefix: /storage
    version: /api/v1
# Tutorial: https://help.aliyun.com/document_detail/100624.htm?spm=a2c4g.11186623.0.0.74075e34eIhK7T#concept-xzh-nzk-2gb
aliyun:
  oss:
    enable: true
    endpoint: Please enter your endpoint. #Example: https://oss-cn-shenzhen.aliyuncs.com
    enable: false
    endpoint: Please enter your endpoint. # Example: https://oss-cn-shenzhen.aliyuncs.com
    access-key: Please enter your access key.
    secret-key: Please enter your secret key.
    expire: 3600
    region: Please enter oss region.
    role-session-name: Please enter session name.
    role-arn: Please enter role arn.
    bucket: Please enter bucket name.
    region: Please enter oss region.    # Example: cn-shenzhen
    role-session-name: Please enter session name.   # A custom role session name to distinguish the different tokens, for example it could be filled in as SessionTest.
    role-arn: Please enter role ARN.    # Example: acs:ram::123456789:role/oss
    bucket: Please enter bucket name.
    object-dir-prefix: Please enter object prefix.
# MinIO is temporarily unavailable.