|
|
|
@ -14,7 +14,8 @@ spring.redis.port=6379 |
|
|
|
#没有密码可以不用配置这个 |
|
|
|
#spring.redis.password=123456 |
|
|
|
|
|
|
|
spring.datasource.validationQuery=SELECT 'x' |
|
|
|
#spring.datasource.validationQuery=SELECT 'x' |
|
|
|
spring.datasource.validationQuery=SELECT 1 FROM DUAL |
|
|
|
|
|
|
|
# 连接池配置 |
|
|
|
spring.redis.jedis.pool.enabled=true |
|
|
|
@ -50,3 +51,26 @@ org.quartz.jobStore.misfireThreshold=60000 |
|
|
|
#持久化配置 |
|
|
|
org.quartz.jobStore.class=org.quartz.impl.jdbcjobstore.JobStoreTX |
|
|
|
org.quartz.jobStore.driverDelegateClass = org.quartz.impl.jdbcjobstore.StdJDBCDelegate |
|
|
|
|
|
|
|
mybatis.configuration.log-impl=org.apache.ibatis.logging.stdout.StdOutImpl |
|
|
|
|
|
|
|
#是否启用StatFilter默认值true |
|
|
|
spring.datasource.druid.web-stat-filter.enabled= true |
|
|
|
#添加过滤规则 |
|
|
|
spring.datasource.druid.web-stat-filter.url-pattern=/* |
|
|
|
#忽略过滤的格式 |
|
|
|
spring.datasource.druid.web-stat-filter.exclusions=*.js,*.gif,*.jpg,*.png,*.css,*.ico,/druid/* |
|
|
|
#是否启用StatViewServlet默认值true |
|
|
|
spring.datasource.druid.stat-view-servlet.enabled= true |
|
|
|
#访问路径为/druid时,跳转到StatViewServlet |
|
|
|
spring.datasource.druid.stat-view-servlet.url-pattern=/druid/* |
|
|
|
# 是否能够重置数据 |
|
|
|
spring.datasource.druid.stat-view-servlet.reset-enable=false |
|
|
|
# 需要账号密码才能访问控制台,默认为root |
|
|
|
#spring.datasource.druid.stat-view-servlet.login-username=admin |
|
|
|
#spring.datasource.druid.stat-view-servlet.login-password=123456 |
|
|
|
#IP白名单 |
|
|
|
#spring.datasource.druid.stat-view-servlet.allow=127.0.0.1 |
|
|
|
#IP黑名单(共同存在时,deny优先于allow) |
|
|
|
#spring.datasource.druid.stat-view-servlet.deny=192.168.15.21 |
|
|
|
|
|
|
|
|