spring:
|
profiles:
|
active: test,swagger
|
datasource:
|
type: com.alibaba.druid.pool.DruidDataSource
|
url: jdbc:mysql://47.96.225.205:3306/flower1?useUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=GMT%2b8&allowMultiQueries=true
|
username: root
|
password: CloudRoam
|
druid:
|
initial-size: 5
|
max-active: 20
|
min-idle: 5
|
max-wait: 60000
|
pool-prepared-statements: true
|
max-pool-prepared-statement-per-connection-size: 20
|
validation-query: SELECT 1 FROM DUAL
|
test-on-borrow: false
|
test-on-return: false
|
test-while-idle: true
|
time-between-eviction-runs-millis: 60000
|
min-evictable-idle-time-millis: 300000
|
filters: config,stat
|
remove-abandoned: true
|
web-stat-filter:
|
enabled: true
|
url-pattern: /api/*
|
exclusions:
|
session-stat-enable: true
|
session-stat-max-count: 1000
|
profile-enable: true
|
stat-view-servlet:
|
enabled: true
|
url-pattern: /druid/*
|
reset-enable: true
|
login-username: admin
|
login-password: admin
|
allow:
|
deny:
|
redis:
|
database: 0
|
host: 192.168.1.235
|
password: 123456
|
port: 6379
|
|
|
logging:
|
level:
|
ROOT: INFO
|
com.mzl.flower: DEBUG
|
|
upload:
|
fileServerPath: http://47.99.58.211/files
|
fileGroup: /group1
|
localServerPath: /data/files
|
|
syb:
|
callBackUrl: http://47.99.58.211
|