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.
 
 
 
 
 

143 lines
3.9 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. #jackson:
  27. #date-format: yyyy-MM-dd HH:mm:ss
  28. # REDIS
  29. redis:
  30. host: 101.201.103.81
  31. port: 6379
  32. password: ENC(xPFDlgd6v8zUhJMbcKc0KmmQiqs9qHtk)
  33. timeout: 3600
  34. expire: 1800 #30分钟
  35. database: 5
  36. jedis:
  37. pool:
  38. max-active: 200
  39. max-idle: 100
  40. max-wait: -1
  41. min-idle: 0
  42. # SMS
  43. aliyun:
  44. sms:
  45. accessKeyId: LTAI4G7ixY4AhvM35F8o3W3V
  46. accessKeySecret: VfWqGb83qIQrS9us45utskl8itd7ry
  47. product: Dysmsapi
  48. domain: dysmsapi.aliyuncs.com
  49. regionId: cn-hangzhou
  50. dateFormat: yyyyMMdd
  51. endpointName: cn-hangzhou
  52. oss:
  53. endpoint: oss-cn-beijing.aliyuncs.com
  54. keyid: LTAI4G7ixY4AhvM35F8o3W3V
  55. keysecret: VfWqGb83qIQrS9us45utskl8itd7ry
  56. bucketname: formall
  57. filehost: malinkcapi
  58. filedomain: https://formall.oss-accelerate.aliyuncs.com
  59. # EMAIL
  60. mail:
  61. host: smtp.exmail.qq.com
  62. username: zhengfangyuan@iformall.com
  63. password: xnydCeUzofB2h8qp # 授权密码
  64. properties:
  65. mail:
  66. smtp:
  67. auth: true
  68. starttls:
  69. enable: true
  70. socketFactory:
  71. port: 465
  72. class: javax.net.ssl.SSLSocketFactory
  73. # ROCKETMQ
  74. rocketmq:
  75. nameServer: 127.0.0.1:9876
  76. producer:
  77. retry-times-when-send-async-failed: 0
  78. send-msg-timeout: 300000
  79. compress-msg-body-over-howmuch: 4096
  80. max-message-size: 4194304
  81. retry-another-broker-when-not-store-ok: false
  82. retry-times-when-send-failed: 2
  83. # RABBITMQ
  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: debug
  134. path: ./logs/c