38 lines
1009 B
YAML
38 lines
1009 B
YAML
spring:
|
|
http:
|
|
encoding:
|
|
charset: UTF-8
|
|
enabled: true
|
|
force: true
|
|
jpa:
|
|
show-sql: true
|
|
properties:
|
|
hibernate:
|
|
format_sql: true
|
|
type: trace
|
|
datasource:
|
|
url: jdbc:mysql://localhost:3306/deploy_ease_dev?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=Asia/Shanghai
|
|
username: root
|
|
password: root
|
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
|
type: com.alibaba.druid.pool.DruidDataSource
|
|
initialSize: 5
|
|
minIdle: 5
|
|
maxActive: 201
|
|
maxWait: 60000
|
|
timeBetweenEvictionRunsMillis: 60000
|
|
minEvictableIdleTimeMillis: 300000
|
|
validationQuery: SELECT 1 FROM DUAL
|
|
testWhileIdle: true
|
|
testOnBorrow: false
|
|
testOnReturn: false
|
|
poolPreparedStatements: true
|
|
maxPoolPreparedStatementPerConnectionSize: 20
|
|
useGlobalDataSourceStat: true
|
|
connectionProperties: druid.stat.mergeSql=true;druid.stat.slowSqlMillis=500
|
|
|
|
management:
|
|
endpoints:
|
|
web:
|
|
exposure:
|
|
include: "*" |