application-prod.yml 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. server:
  2. port: 8060
  3. address: 0.0.0.0
  4. spring:
  5. datasource:
  6. type: com.alibaba.druid.pool.DruidDataSource
  7. druid:
  8. driver-class-name: com.mysql.cj.jdbc.Driver
  9. url: jdbc:mysql://10.11.7.12:3306/post_station1?useUnicode=true&characterEncoding=utf-8&allowMultiQueries=true&useSSL=false&serverTimezone=GMT%2B8
  10. username: root
  11. password: Gqt@qnrcyz105
  12. initial-size: 5
  13. min-idle: 5
  14. max-active: 20
  15. max-wait: 30000
  16. time-between-eviction-runs-millis: 60000
  17. min-evictable-idle-time-millis: 300000
  18. validation-query: select '1' from dual
  19. test-while-idle: true
  20. test-on-borrow: false
  21. test-on-return: false
  22. pool-prepared-statements: true
  23. max-open-prepared-statements: 20
  24. max-pool-prepared-statement-per-connection-size: 20
  25. filters: stat,wall
  26. filter:
  27. stat:
  28. enabled: true
  29. db-type: mysql
  30. log-slow-sql: true
  31. slow-sql-millis: 2000
  32. stat-view-servlet:
  33. url-pattern: /druid/*
  34. reset-enable: false
  35. login-username: testAdmin
  36. login-password: asdcjiafh^&912834
  37. enabled: true
  38. allow:
  39. web-stat-filter:
  40. url-pattern: /*
  41. exclusions: "*.js,*.gif,*.jpg,*.bmp,*.png,*.css,*.ico,/druid/*"
  42. enabled: true
  43. session-stat-enable: true