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.
 
 
 
 
 

49 lines
1.2 KiB

  1. spring:
  2. # JDBC
  3. datasource:
  4. url: jdbc:mysql://202.165.179.86:3306/mallinkDev?serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=UTF-8&useSSL=false
  5. username: ENC(dZ8fmrtuBMQYaRytKQgTqg==)
  6. password: ENC(OZXsE6/Tj+V1Yu2wdjnIGbNOaBVQzi9W)
  7. type: com.alibaba.druid.pool.DruidDataSource
  8. driver-class-name: com.mysql.cj.jdbc.Driver
  9. filters: stat
  10. maxActive: 20
  11. initialSize: 1
  12. maxWait: 60000
  13. minIdle: 1
  14. timeBetweenEvictionRunsMillis: 60000
  15. minEvictableIdleTimeMillis: 300000
  16. validationQuery: select 'x'
  17. testWhileIdle: true
  18. testOnBorrow: false
  19. testOnReturn: false
  20. poolPreparedStatements: true
  21. maxOpenPreparedStatements: 20
  22. #jackson:
  23. #date-format: yyyy-MM-dd HH:mm:ss
  24. # REDIS
  25. redis:
  26. host: 202.165.179.86
  27. port: 6379
  28. password: ENC(aYJ3Wr2UWtkORRQjjrWWpz2ZeTISsHOA)
  29. timeout: 3600
  30. expire: 1800 #30分钟
  31. database: 1
  32. defaultExpiration: 2592000 # 默认生命周期30天
  33. jedis:
  34. pool:
  35. max-active: 8
  36. max-idle: 8
  37. max-wait: -1
  38. min-idle: 0
  39. fm:
  40. exception: false
  41. logging:
  42. level:
  43. tk.mybatis: debug
  44. com.iformall.mapper: debug
  45. path: ./logs/b