Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
 
 
 
 
 

148 rader
4.2 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&allowMultiQueries=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&allowMultiQueries=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=60000"
  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: 100
  41. max-idle: 500
  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. # EMAIL
  55. mail:
  56. host: smtp.exmail.qq.com
  57. username: ENC(lknBjZsA24AaQEXuy0fFw3acd4v4Xsf3CsgDcRZgjlYnNAL9R07d/w==)
  58. password: ENC(gIkVPuYMmJ/EDxry8QIfGumIAk4plAwolGrfg1fiM3U=) # 授权密码
  59. properties:
  60. mail:
  61. smtp:
  62. auth: true
  63. starttls:
  64. enable: true
  65. socketFactory:
  66. port: 465
  67. class: javax.net.ssl.SSLSocketFactory
  68. # ROCKETMQ
  69. rocketmq:
  70. nameServer: 127.0.0.1:9876
  71. producer:
  72. retry-times-when-send-async-failed: 0
  73. send-msg-timeout: 300000
  74. compress-msg-body-over-howmuch: 4096
  75. max-message-size: 4194304
  76. retry-another-broker-when-not-store-ok: false
  77. retry-times-when-send-failed: 2
  78. # RABBITMQ
  79. rabbitmq:
  80. host: 202.165.179.86
  81. port: 5672
  82. username: ENC(2f9Nqt3c4cbVGYnhpjp9Mg==)
  83. password: ENC(2av0JfMfz141IHkG6ibI8aKzmD33bc64wcN/O43ucbo=)
  84. publisher-confirms: true
  85. publisher-returns: false
  86. virtual-host: /
  87. aliyunRocketmq:
  88. accessKeyId: "LTAI4G7ixY4AhvM35F8o3W3V"
  89. accessKeySecret: "VfWqGb83qIQrS9us45utskl8itd7ry"
  90. groupId: "GID_P_1"
  91. namesrvAddr: "http://MQ_INST_1796289517488555_Bcqaq2is.cn-beijing.mq-internal.aliyuncs.com:8080"
  92. flyway:
  93. enabled: false
  94. aws:
  95. clientRegion: cn-northwest-1
  96. bucketName: iformall-net
  97. access: ENC(3gx5ghDFBqGrEhO3Wf8aYmXsnwHO7Cj3HNKJGOeUj0o=)
  98. secret: ENC(HVKIJwCJKVXLlUpGlQPwNqJOlnpxn4xYuy91SH0seTSm2uAttIQHvA49fXWWax90v5wloIk0QuU=)
  99. wechat:
  100. web:
  101. appId: "wxe31beafbfd8295ba"
  102. secret: "c689fabf3c4c9f5b6424ff2a36a26727"
  103. url: "https://mall.youlane.cn"
  104. open:
  105. componentAppId: "wx897e4673286c915d"
  106. componentSecret: "cdfdfda65c45689beb6766c4c427eed2"
  107. componentToken: "formall2018"
  108. componentAesKey: "htKq8EjBMPNndfZQK9JiFojFaqFwFpw42VfeWFtx7HN"
  109. redis:
  110. host: 101.201.103.81
  111. port: 6379
  112. password: ENC(xPFDlgd6v8zUhJMbcKc0KmmQiqs9qHtk)
  113. timeout: 3600
  114. expire: 1800 #30分钟
  115. database: 2
  116. defaultExpiration: 2592000 # 默认生命周期30天
  117. jedis:
  118. pool:
  119. max-active: 100
  120. max-idle: 500
  121. max-wait: -1
  122. min-idle: 10
  123. jasypt:
  124. encryptor:
  125. password: oRqdnDbK5pj3eMmB
  126. fm:
  127. exception: true
  128. exception_emails: zhengfangyuan@iformall.com,xuxiaohu@iformall.com
  129. deploy: 1
  130. open: true
  131. upload_dir: /home/test/server/uploads/
  132. ueditor:
  133. config: config.json
  134. unified: true
  135. upload-path: ./upload/
  136. url-prefix: ""
  137. logging:
  138. level:
  139. com.iformall: debug
  140. path: ./logs/admin