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.
 
 
 
 
 

129 lines
3.4 KiB

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