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.
 
 
 
 
 

136 lines
3.7 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. username: ENC(dZ8fmrtuBMQYaRytKQgTqg==)
  9. password: ENC(IKH7HxMZwIqMttMc9+QsqWa1KMsJvTs4)
  10. type: com.alibaba.druid.pool.DruidDataSource
  11. driver-class-name: com.mysql.cj.jdbc.Driver
  12. filters: stat
  13. maxActive: 20
  14. initialSize: 1
  15. maxWait: 60000
  16. minIdle: 1
  17. timeBetweenEvictionRunsMillis: 28000
  18. minEvictableIdleTimeMillis: 28000
  19. validationQuery: select 'x'
  20. testWhileIdle: true
  21. testOnBorrow: false
  22. testOnReturn: false
  23. poolPreparedStatements: true
  24. maxOpenPreparedStatements: 20
  25. connectionProperties: "druid.stat.mergeSql=true;druid.stat.slowSqlMillis=60000"
  26. #jackson:
  27. #date-format: yyyy-MM-dd HH:mm:ss
  28. # REDIS
  29. redis:
  30. host: 202.165.179.86
  31. port: 6379
  32. password: ENC(xPFDlgd6v8zUhJMbcKc0KmmQiqs9qHtk)
  33. timeout: 3600
  34. expire: 1800 #30分钟
  35. database: 1
  36. defaultExpiration: 2592000 # 默认生命周期30天
  37. jedis:
  38. pool:
  39. max-active: 100
  40. max-idle: 500
  41. max-wait: -1
  42. min-idle: 10
  43. # EMAIL
  44. mail:
  45. host: smtp.exmail.qq.com
  46. username: ENC(lknBjZsA24AaQEXuy0fFw3acd4v4Xsf3CsgDcRZgjlYnNAL9R07d/w==)
  47. password: ENC(gIkVPuYMmJ/EDxry8QIfGumIAk4plAwolGrfg1fiM3U=) # 授权密码
  48. properties:
  49. mail:
  50. smtp:
  51. auth: true
  52. starttls:
  53. enable: true
  54. socketFactory:
  55. port: 465
  56. class: javax.net.ssl.SSLSocketFactory
  57. # ROCKETMQ
  58. rocketmq:
  59. nameServer: 127.0.0.1:9876
  60. producer:
  61. retry-times-when-send-async-failed: 0
  62. send-msg-timeout: 300000
  63. compress-msg-body-over-howmuch: 4096
  64. max-message-size: 4194304
  65. retry-another-broker-when-not-store-ok: false
  66. retry-times-when-send-failed: 2
  67. # RABBITMQ
  68. rabbitmq:
  69. host: 202.165.179.86
  70. port: 5672
  71. username: ENC(2f9Nqt3c4cbVGYnhpjp9Mg==)
  72. password: ENC(2av0JfMfz141IHkG6ibI8aKzmD33bc64wcN/O43ucbo=)
  73. publisher-confirms: true
  74. publisher-returns: false
  75. virtual-host: /
  76. aliyunRocketmq:
  77. accessKeyId: LTAI4G2hFwCBVhxCFbV7nBxf
  78. accessKeySecret: LTAI4G2hFwCBVhxCFbV7nBxf
  79. producerGroupId: GID_P_1
  80. namesrvAddr: http://MQ_INST_1796289517488555_Bcqaq2is.cn-beijing.mq-internal.aliyuncs.com:8080
  81. flyway:
  82. enabled: false
  83. aws:
  84. clientRegion: cn-northwest-1
  85. bucketName: iformall-net
  86. access: ENC(3gx5ghDFBqGrEhO3Wf8aYmXsnwHO7Cj3HNKJGOeUj0o=)
  87. secret: ENC(HVKIJwCJKVXLlUpGlQPwNqJOlnpxn4xYuy91SH0seTSm2uAttIQHvA49fXWWax90v5wloIk0QuU=)
  88. wechat:
  89. web:
  90. appId: "wxe31beafbfd8295ba"
  91. secret: "c689fabf3c4c9f5b6424ff2a36a26727"
  92. url: "https://mall.youlane.cn"
  93. open:
  94. componentAppId: "wx897e4673286c915d"
  95. componentSecret: "cdfdfda65c45689beb6766c4c427eed2"
  96. componentToken: "formall2018"
  97. componentAesKey: "htKq8EjBMPNndfZQK9JiFojFaqFwFpw42VfeWFtx7HN"
  98. redis:
  99. host: 202.165.179.86
  100. port: 6379
  101. password: ENC(xPFDlgd6v8zUhJMbcKc0KmmQiqs9qHtk)
  102. timeout: 3600
  103. expire: 1800 #30分钟
  104. database: 2
  105. defaultExpiration: 2592000 # 默认生命周期30天
  106. jedis:
  107. pool:
  108. max-active: 100
  109. max-idle: 500
  110. max-wait: -1
  111. min-idle: 10
  112. jasypt:
  113. encryptor:
  114. password: oRqdnDbK5pj3eMmB
  115. fm:
  116. exception: false
  117. exception_emails: houtaikaifa@iformall.com
  118. deploy: 1
  119. open: true
  120. upload_dir: /home/test/server/uploads/
  121. ueditor:
  122. config: config.json
  123. unified: true
  124. upload-path: ./upload/
  125. url-prefix: ""
  126. logging:
  127. level:
  128. com.iformall: debug
  129. path: ./logs/admin