- spring:
- profiles:
- include: aliyunRocketMQ
- # JDBC
- datasource:
- url: jdbc:mysql://zc349w82qvn56ftl5e64-rw4rm.rwlb.rds.aliyuncs.com:3306/mallink?serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=UTF-8&useSSL=false&useAffectedRows=true
- username: ENC(nUefcxWYlMS/1cDxikIKwA==)
- password: ENC(neToS+hzeFjgSFB/7UEl5qYnW2rUjrPq)
- type: com.alibaba.druid.pool.DruidDataSource
- driver-class-name: com.mysql.cj.jdbc.Driver
- filters: stat
- maxActive: 20
- initialSize: 1
- maxWait: 60000
- minIdle: 1
- timeBetweenEvictionRunsMillis: 28000
- minEvictableIdleTimeMillis: 28000
- validationQuery: select 'x'
- testWhileIdle: true
- testOnBorrow: false
- testOnReturn: false
- poolPreparedStatements: true
- maxOpenPreparedStatements: 20
- connectionProperties: "druid.stat.mergeSql=true;druid.stat.slowSqlMillis=6000"
- # REDIS
- redis:
- host: 101.201.103.81
- port: 6379
- password: ENC(KD+AiEPSefoV6aKm5qchSASXFGijMzHL)
- timeout: 3600
- expire: 1800 #30分钟
- database: 3
- defaultExpiration: 2592000 # 默认生命周期30天
- jedis:
- pool:
- max-active: 8
- max-idle: 8
- max-wait: -1
- min-idle: 0
- # SMS
- aliyun:
- sms:
- accessKeyId: LTAI4G7ixY4AhvM35F8o3W3V
- accessKeySecret: VfWqGb83qIQrS9us45utskl8itd7ry
- product: Dysmsapi
- domain: dysmsapi.aliyuncs.com
- regionId: cn-hangzhou
- dateFormat: yyyyMMdd
- endpointName: cn-hangzhou
- oss:
- endpoint: oss-cn-beijing.aliyuncs.com
- keyid: LTAI4G7ixY4AhvM35F8o3W3V
- keysecret: VfWqGb83qIQrS9us45utskl8itd7ry
- bucketname: formall
- filehost: malinkadmin
- filedomain: https://formall.oss-accelerate.aliyuncs.com
- # EMAIL
- mail:
- host: smtp.exmail.qq.com
- username: zhengfangyuan@iformall.com
- password: xnydCeUzofB2h8qp # 授权密码
- properties:
- mail:
- smtp:
- auth: true
- starttls:
- enable: true
- socketFactory:
- port: 465
- class: javax.net.ssl.SSLSocketFactory
- # RABBITMQ
- rabbitmq:
- host: localhost
- port: 5672
- username: ENC(lRmLd6EzgeY1RT5ktcHv9g==)
- password: ENC(gBI8mCjr3OC0v57jcnSb660Ux7mW03K2oePgvohhg7w=)
- publisher-confirms: true
- publisher-returns: false
- virtual-host: /
- aliyunRocketmq:
- accessKeyId: "LTAI4G7ixY4AhvM35F8o3W3V"
- accessKeySecret: "VfWqGb83qIQrS9us45utskl8itd7ry"
- groupId: "GID_P_1"
- namesrvAddr: "http://MQ_INST_1796289517488555_Bcqaq2is.cn-beijing.mq-internal.aliyuncs.com:8080"
-
- aws:
- clientRegion: cn-northwest-1
- bucketName: iformall-net
- access: ENC(a6SN1sZ1enNL49ypiOXkg/pPPAnZD8H4buQFTTKN08s=)
- secret: ENC(5P5ff4bTMJUbXVR4ZsM03UHzOKZ4+Zg5Iutcdkyp/Quny/oXg+A4KpfwEyGarlLu3vQMJahGP5M=)
-
- wechat:
- open:
- componentAppId: ENC(b3JG0MUZgQfz5Zj+DC2ZM1zDeLOiGTmmeokfe2O8kaM=)
- componentSecret: ENC(QVyc4BPGdnSjXGs2ivgpDBE1v8wPWHLLRMYI7Vv8uYwC0SiZHQz0QpyyQV/b48Pb)
- componentToken: ENC(rkxj0733WxFFDLgA9x01m2s5Fi2L+0PC)
- componentAesKey: ENC(EIbJUBpbYOrLb4YQ/HXLQmxlxgAqIp2ZmpnGICC8pu5xiTz3Cqfkbwd2S8raCcK/IvYcX2GmedI=)
- redis:
- host: 101.201.103.81
- port: 6379
- password: ENC(KD+AiEPSefoV6aKm5qchSASXFGijMzHL)
- timeout: 3600
- expire: 1800 #30分钟
- database: 2
- defaultExpiration: 2592000 # 默认生命周期30天
- jedis:
- pool:
- max-active: 100
- max-idle: 100
- max-wait: -1
- min-idle: 10
-
- fm:
- exception: true
- exception_emails: houtaikaifa@iformall.com
- deploy: 3
- open: true
- upload_dir: /root/uploads/
-
- logging:
- level:
- com.iformall: debug
- path: ./logs/w
|