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.
 
 
 
 
 

73 lines
1.9 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(WGu0+1DPIHrqorDhrbq1+7wr7xNG53mN)
  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. #jackson:
  25. #date-format: yyyy-MM-dd HH:mm:ss
  26. # REDIS
  27. redis:
  28. host: 202.165.179.86
  29. port: 6379
  30. password: ENC(aYJ3Wr2UWtkORRQjjrWWpz2ZeTISsHOA)
  31. timeout: 3600
  32. expire: 1800 #30分钟
  33. database: 1
  34. defaultExpiration: 2592000 # 默认生命周期30天
  35. jedis:
  36. pool:
  37. max-active: 50
  38. max-idle: 30
  39. max-wait: -1
  40. min-idle: 0
  41. # EMAIL
  42. mail:
  43. host: smtp.exmail.qq.com
  44. username: ENC(R0bER9E9OB9/YQcpNXMyYDwofNVb8/pFl4nrApS8mi0=)
  45. password: ENC(50YqJd0iK/2r2YnmEd5RKaki3ktU73UDapBJrVYfqmc=) # 授权密码
  46. properties:
  47. mail:
  48. smtp:
  49. auth: true
  50. starttls:
  51. enable: true
  52. socketFactory:
  53. port: 465
  54. class: javax.net.ssl.SSLSocketFactory
  55. aws:
  56. clientRegion: cn-northwest-1
  57. bucketName: iformall-net
  58. access: ENC(3gx5ghDFBqGrEhO3Wf8aYmXsnwHO7Cj3HNKJGOeUj0o=)
  59. secret: ENC(HVKIJwCJKVXLlUpGlQPwNqJOlnpxn4xYuy91SH0seTSm2uAttIQHvA49fXWWax90v5wloIk0QuU=)
  60. jasypt:
  61. encryptor:
  62. password: oRqdnDbK5pj3eMmB
  63. fm:
  64. exception: false
  65. logging:
  66. level:
  67. tk.mybatis: debug
  68. com.iformall.mapper: debug
  69. path: ./logs/b