123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- server:
- port: 8060
- address: 0.0.0.0
- spring:
- datasource:
- type: com.alibaba.druid.pool.DruidDataSource
- druid:
- driver-class-name: com.mysql.cj.jdbc.Driver
- url: jdbc:mysql://10.11.7.12:3306/post_station1?useUnicode=true&characterEncoding=utf-8&allowMultiQueries=true&useSSL=false&serverTimezone=GMT%2B8
- username: root
- password: Gqt@qnrcyz105
- initial-size: 5
- min-idle: 5
- max-active: 20
- max-wait: 30000
- time-between-eviction-runs-millis: 60000
- min-evictable-idle-time-millis: 300000
- validation-query: select '1' from dual
- test-while-idle: true
- test-on-borrow: false
- test-on-return: false
- pool-prepared-statements: true
- max-open-prepared-statements: 20
- max-pool-prepared-statement-per-connection-size: 20
- filters: stat,wall
- filter:
- stat:
- enabled: true
- db-type: mysql
- log-slow-sql: true
- slow-sql-millis: 2000
- stat-view-servlet:
- url-pattern: /druid/*
- reset-enable: false
- login-username: testAdmin
- login-password: asdcjiafh^&912834
- enabled: true
- allow:
- web-stat-filter:
- url-pattern: /*
- exclusions: "*.js,*.gif,*.jpg,*.bmp,*.png,*.css,*.ico,/druid/*"
- enabled: true
- session-stat-enable: true
|