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.
 
 
 
 
 

44 rivejä
1.1 KiB

  1. spring:
  2. # JDBC
  3. datasource:
  4. url: jdbc:mysql://formalldb.cfqyqflkdlit.rds.cn-northwest-1.amazonaws.com.cn:3306/mallink?characterEncoding=UTF-8
  5. username: ENC(BDv01/sQdBGEhFEXuw+8tw==)
  6. password: ENC(0wvpX49+RMUpGP2tb9PY4ta/yCwAmLLhbKG9ndvifPI=)
  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. # REDIS
  24. redis:
  25. host: 202.165.179.86
  26. port: 6789
  27. password: ENC(YOLO4buIPjiYfosG+Akk3XZ9HYrbCFco)
  28. timeout: 0
  29. expire: 1800 #30分钟
  30. pool:
  31. max-active: 8
  32. max-idle: 8
  33. max-wait: -1
  34. min-idle: 0
  35. fileUpload:
  36. path: /home/test/images
  37. server: http://202.165.179.86:8081/images
  38. logging:
  39. level:
  40. tk.mybatis: debug
  41. com.iformall.mapper: debug