70 lines
2.0 KiB
YAML
70 lines
2.0 KiB
YAML
wkfow:
|
|
auth: fk-auth
|
|
server:
|
|
port: 17210
|
|
tomcat:
|
|
uri-encoding: UTF-8
|
|
servlet:
|
|
context-path: /bat-wkflow
|
|
logging:
|
|
level:
|
|
root: info
|
|
org.springfromework.web: info
|
|
org.hibernate: info
|
|
eureka:
|
|
client:
|
|
serviceUrl:
|
|
defaultZone: http:/192.168.10.47:16000/eureka/
|
|
spring:
|
|
application:
|
|
name: bat-wkflow
|
|
http:
|
|
encoding:
|
|
charset: UTF-8
|
|
enabled: true
|
|
force: true
|
|
servlet:
|
|
multipart:
|
|
maxFileSize: "100MB"
|
|
maxRequestSize: "100MB"
|
|
datasource:
|
|
type: com.alibaba.druid.pool.DruidDataSource
|
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
|
url: jdbc:mysql://test.eqbidding.com:3306/bat-wkflow?nullCatalogMeansCurrent=true&serverTimezone=Asia/Shanghai&useSSL=false&characterEncoding=utf-8
|
|
username: fxd
|
|
password: 123456
|
|
initialSize: 5
|
|
minIdle: 5
|
|
maxActive: 20
|
|
maxWait: 60000
|
|
timeBetweenEvictionRunsMillis: 60000
|
|
minEvictableIdleTimeMillis: 300000
|
|
validationQuery: SELECT 1 FROM DUAL
|
|
testWhileIdle: true
|
|
testOnBorrow: false
|
|
testOnReturn: false
|
|
slowSqlMillis: 5000
|
|
logSlowSql: true
|
|
# 打开PSCache
|
|
poolPreparedStatements: true
|
|
#配置监控统计拦截的filters,stat:监控统计、log4j:日志记录、wall:防御sql注入
|
|
#如果运行时报错 java.lang.ClassNotFoundException: org.apache.log4j.Priority
|
|
#则导入 log4j 依赖即可,Maven 地址: https://mvnrepository.com/artifact/log4j/log4j
|
|
filters: stat,wall
|
|
#指定每个连接上PSCache的大小
|
|
maxPoolPreparedStatementPerConnectionSize: 20
|
|
#合并多个DruidDataSource的监控数据
|
|
useGlobalDataSourceStat: true
|
|
stat-view-servlet:
|
|
enabled: true
|
|
login-username: druid
|
|
login-password: druid
|
|
url-pattern: /druid/*
|
|
activiti:
|
|
database-schema-update: true
|
|
# 自动部署验证设置:true-开启(默认)、false-关闭
|
|
check-process-definitions: false
|
|
mybatis-plus:
|
|
configuration:
|
|
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
|