You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

144 lines
4.0 KiB

  1. spring:
  2. profiles:
  3. include: aliyunRocketMQ
  4. #include: rabbitMQ
  5. # JDBC
  6. datasource:
  7. #url: jdbc:mysql://rm-2zel9i9t555zy7lftmo.mysql.rds.aliyuncs.com:3306/mallink?characterEncoding=UTF-8&serverTimezone=Asia/Shanghai&useUnicode=true&useSSL=false&useAffectedRows=true
  8. url: jdbc:mysql://zc349w82qvn56ftl5e64-rw4rm.rwlb.rds.aliyuncs.com:3306/mallink?characterEncoding=UTF-8&serverTimezone=Asia/Shanghai&useUnicode=true&useSSL=false&useAffectedRows=true
  9. username: ENC(dZ8fmrtuBMQYaRytKQgTqg==)
  10. password: ENC(IKH7HxMZwIqMttMc9+QsqWa1KMsJvTs4)
  11. type: com.alibaba.druid.pool.DruidDataSource
  12. driver-class-name: com.mysql.cj.jdbc.Driver
  13. filters: stat
  14. maxActive: 20
  15. initialSize: 1
  16. maxWait: 60000
  17. minIdle: 1
  18. timeBetweenEvictionRunsMillis: 28000
  19. minEvictableIdleTimeMillis: 28000
  20. validationQuery: select 'x'
  21. testWhileIdle: true
  22. testOnBorrow: false
  23. testOnReturn: false
  24. poolPreparedStatements: true
  25. maxOpenPreparedStatements: 20
  26. connectionProperties: "druid.stat.mergeSql=true;druid.stat.slowSqlMillis=6000"
  27. #jackson:
  28. #date-format: yyyy-MM-dd HH:mm:ss
  29. # REDIS
  30. redis:
  31. host: 101.201.103.81
  32. port: 6379
  33. password: ENC(xPFDlgd6v8zUhJMbcKc0KmmQiqs9qHtk)
  34. timeout: 3600
  35. expire: 1800 #30分钟
  36. database: 5
  37. defaultExpiration: 2592000 # 默认生命周期30天
  38. jedis:
  39. pool:
  40. max-active: 50
  41. max-idle: 50
  42. max-wait: -1
  43. min-idle: 10
  44. # SMS
  45. aliyun:
  46. sms:
  47. accessKeyId: LTAI4G7ixY4AhvM35F8o3W3V
  48. accessKeySecret: VfWqGb83qIQrS9us45utskl8itd7ry
  49. product: Dysmsapi
  50. domain: dysmsapi.aliyuncs.com
  51. regionId: cn-hangzhou
  52. dateFormat: yyyyMMdd
  53. endpointName: cn-hangzhou
  54. oss:
  55. endpoint: oss-cn-beijing.aliyuncs.com
  56. keyid: LTAI4G7ixY4AhvM35F8o3W3V
  57. keysecret: VfWqGb83qIQrS9us45utskl8itd7ry
  58. bucketname: formall
  59. filehost: malinkmqconsumer
  60. filedomain: http://formall.oss-accelerate.aliyuncs.com
  61. # EMAIL
  62. mail:
  63. host: smtp.exmail.qq.com
  64. username: zhengfangyuan@iformall.com
  65. password: xnydCeUzofB2h8qp # 授权密码
  66. properties:
  67. mail:
  68. smtp:
  69. auth: true
  70. starttls:
  71. enable: true
  72. socketFactory:
  73. port: 465
  74. class: javax.net.ssl.SSLSocketFactory
  75. rocketmq:
  76. nameServer: 127.0.0.1:9876
  77. producer:
  78. retry-times-when-send-async-failed: 0
  79. send-msg-timeout: 300000
  80. compress-msg-body-over-howmuch: 4096
  81. max-message-size: 4194304
  82. retry-another-broker-when-not-store-ok: false
  83. retry-times-when-send-failed: 2
  84. rabbitmq:
  85. host: 202.165.179.86
  86. port: 5672
  87. username: ENC(2f9Nqt3c4cbVGYnhpjp9Mg==)
  88. password: ENC(2av0JfMfz141IHkG6ibI8aKzmD33bc64wcN/O43ucbo=)
  89. publisher-confirms: true
  90. publisher-returns: false
  91. virtual-host: /
  92. aliyunRocketmq:
  93. accessKeyId: "LTAI4G7ixY4AhvM35F8o3W3V"
  94. accessKeySecret: "VfWqGb83qIQrS9us45utskl8itd7ry"
  95. groupId: "GID_P_1"
  96. namesrvAddr: "http://MQ_INST_1796289517488555_Bcqaq2is.cn-beijing.mq-internal.aliyuncs.com:8080"
  97. aws:
  98. clientRegion: cn-northwest-1
  99. bucketName: iformall-net
  100. access: ENC(3gx5ghDFBqGrEhO3Wf8aYmXsnwHO7Cj3HNKJGOeUj0o=)
  101. secret: ENC(HVKIJwCJKVXLlUpGlQPwNqJOlnpxn4xYuy91SH0seTSm2uAttIQHvA49fXWWax90v5wloIk0QuU=)
  102. wechat:
  103. open:
  104. componentAppId: "wxdfc8fb4e62d6b52b"
  105. componentSecret: "98daa62b316dd6feabaad708327ce233"
  106. componentToken: "formall2018"
  107. componentAesKey: "htKq8EjBMPNndfZQK9JiFojFaqFwFpw42VfeWFtx7HN"
  108. redis:
  109. host: 101.201.103.81
  110. port: 6379
  111. password: ENC(xPFDlgd6v8zUhJMbcKc0KmmQiqs9qHtk)
  112. timeout: 3600
  113. expire: 1800 #30分钟
  114. database: 2
  115. defaultExpiration: 2592000 # 默认生命周期30天
  116. jedis:
  117. pool:
  118. max-active: 100
  119. max-idle: 500
  120. max-wait: -1
  121. min-idle: 10
  122. jasypt:
  123. encryptor:
  124. password: oRqdnDbK5pj3eMmB
  125. fm:
  126. exception: true
  127. exception_emails: houtaikaifa@iformall.com
  128. deploy: 1
  129. open: true
  130. upload_dir: /home/test/server/uploads/
  131. logging:
  132. level:
  133. com.iformall.mapper: debug
  134. path: ./logs/m