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.
 
 
 
 
 

46 lines
1.1 KiB

  1. spring:
  2. # JDBC
  3. datasource:
  4. url: jdbc:mysql://202.165.179.86:3306/mallink?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: 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. connectionProperties: "druid.stat.mergeSql=true;druid.stat.slowSqlMillis=6000"
  23. #jackson:
  24. #date-format: yyyy-MM-dd HH:mm:ss
  25. # REDIS
  26. redis:
  27. host: 202.165.179.86
  28. port: 6789
  29. password: ENC(YOLO4buIPjiYfosG+Akk3XZ9HYrbCFco)
  30. timeout: 0
  31. expire: 1800 #30分钟
  32. pool:
  33. max-active: 8
  34. max-idle: 8
  35. max-wait: -1
  36. min-idle: 0
  37. fileUpload:
  38. path: /home/test/images
  39. server: http://202.165.179.86:8081/images
  40. logging:
  41. level:
  42. tk.mybatis: debug
  43. com.simple.mapper: debug