Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
 
 
 
 
 

121 righe
3.3 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
  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=6000"
  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. aws:
  75. clientRegion: cn-northwest-1
  76. bucketName: iformall-net
  77. access: ENC(3gx5ghDFBqGrEhO3Wf8aYmXsnwHO7Cj3HNKJGOeUj0o=)
  78. secret: ENC(HVKIJwCJKVXLlUpGlQPwNqJOlnpxn4xYuy91SH0seTSm2uAttIQHvA49fXWWax90v5wloIk0QuU=)
  79. wechat:
  80. web:
  81. appId: "wxe31beafbfd8295ba"
  82. secret: "c689fabf3c4c9f5b6424ff2a36a26727"
  83. url: "https://mall.youlane.cn"
  84. open:
  85. componentAppId: "wx897e4673286c915d"
  86. componentSecret: "cdfdfda65c45689beb6766c4c427eed2"
  87. componentToken: "formall2018"
  88. componentAesKey: "htKq8EjBMPNndfZQK9JiFojFaqFwFpw42VfeWFtx7HN"
  89. redis:
  90. host: 202.165.179.86
  91. port: 6379
  92. password: ENC(xPFDlgd6v8zUhJMbcKc0KmmQiqs9qHtk)
  93. timeout: 3600
  94. expire: 1800 #30分钟
  95. database: 2
  96. defaultExpiration: 2592000 # 默认生命周期30天
  97. jedis:
  98. pool:
  99. max-active: 100
  100. max-idle: 500
  101. max-wait: -1
  102. min-idle: 10
  103. jasypt:
  104. encryptor:
  105. password: oRqdnDbK5pj3eMmB
  106. fm:
  107. exception: false
  108. exception_emails: hupeng@iformall.com,wuguoqiang@iformall.com,gongbiao@iformall.com,luozukai@iformall.com
  109. deploy: 1
  110. open: true
  111. upload_dir: /home/test/server/uploads/
  112. logging:
  113. level:
  114. tk.mybatis: debug
  115. com.iformall: debug
  116. path: ./logs/admin