| | |
| | | type: com.alibaba.druid.pool.DruidDataSource |
| | | driverClassName: com.mysql.cj.jdbc.Driver |
| | | url: jdbc:mysql://42.193.1.25:3306/lilishop?useUnicode=true&characterEncoding=utf-8&useSSL=false&rewriteBatchedStatements=true&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai |
| | | # url: jdbc:mysql://127.0.0.1:3306/lilishop?useUnicode=true&characterEncoding=utf-8&useSSL=false&rewriteBatchedStatements=true&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai |
| | | username: root |
| | | password: 321$YcYl@1970! |
| | | # password: 123456 |
| | | maxActive: 50 |
| | | initialSize: 20 |
| | | maxWait: 60000 |
| | |
| | | xxl: |
| | | job: |
| | | admin: |
| | | addresses: http://127.0.0.1:30001/xxl-job-admin |
| | | addresses: http://127.0.0.1:9001/xxl-job-admin |
| | | executor: |
| | | appname: xxl-job-executor-lilishop |
| | | address: |
| | | ip: |
| | | port: 8891 |
| | | port: 8848 |
| | | logpath: ./xxl-job/executor |
| | | logretentiondays: 7 |
| | | |
| | | # 腾讯cos-sts配置 |
| | | cos: |
| | | secretId: AKIDYyBCzb1FOPGx0fCXfdOwJVWM1TjqmW3N # 腾讯ARM用户的secretId |
| | | secretKey: DD1b1LWVIvPlusAOYjnfKm150jO0NYWH # 腾讯ARM用户的secretKey |
| | | durationSeconds: 1800 # STS临时访问凭证有效期,单位秒,默认1800s,主账号最长2小时,子账号(ARM用户)36小时 |
| | | bucket: lmk-1308069279 |
| | | region: ap-chengdu |
| | | urlExpireMinute: 360 # 预签名url有效时间(分钟) |
| | | actions: # sts的权限 |
| | | - cos:ListMultipartUploads |
| | | - cos:GetBucket |
| | | - cos:GetObject |
| | | - cos:GetObjectTagging |
| | | - cos:GetSymlink |
| | | - cos:HeadObject |
| | | - cos:ListParts |
| | | - cos:AbortMultipartUpload |
| | | - cos:AppendObject |
| | | - cos:CompleteMultipartUpload |
| | | - cos:InitiateMultipartUpload |
| | | - cos:PostObject |
| | | - cos:PutObject |
| | | - cos:UploadPart |
| | | - cos:DeleteObject |
| | | - cos:PutObjectTagging |
| | | resources: # 能操作哪些资源 |
| | | - qcs::cos:ap-chengdu:uid/1308069279:lmk-1308069279/* |