123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116 |
- spring:
- datasource:
- type: com.alibaba.druid.pool.DruidDataSource
- driverClassName: com.mysql.cj.jdbc.Driver
- druid:
-
- master:
- url: jdbc:mysql://47.100.220.92:3306/warewms-jnmc-jinco?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&serverTimezone=GMT%2B8
- username: warewms
- password: warewms123
-
- slave:
-
- enabled: false
- url:
- username:
- password:
-
- initialSize: 5
-
- minIdle: 10
-
- maxActive: 20
-
- maxWait: 60000
-
- timeBetweenEvictionRunsMillis: 60000
-
- minEvictableIdleTimeMillis: 300000
-
- maxEvictableIdleTimeMillis: 900000
-
- validationQuery: SELECT 1 FROM DUAL
- testWhileIdle: true
- testOnBorrow: false
- testOnReturn: false
- webStatFilter:
- enabled: true
- statViewServlet:
- enabled: true
-
- allow:
- url-pattern: /druid/*
-
- login-username: ruoyi
- login-password: 123456
- filter:
- stat:
- enabled: true
-
- log-slow-sql: true
- slow-sql-millis: 1000
- merge-sql: true
- wall:
- config:
- multi-statement-allow: true
- redis:
-
- host: 154.12.20.200
-
- port: 6379
-
- database: 0
-
- password:
-
- timeout: 10s
- lettuce:
- pool:
-
- min-idle: 0
-
- max-idle: 8
-
- max-active: 8
-
- max-wait: -1ms
- logging:
- level:
- com.ruoyi: info
- org.springframework: info
- init-task:
- autosend: false
- aciservice: false
|