server:
|
port: 8082
|
tomcat:
|
uri-encoding: UTF-8
|
servlet:
|
context-path: /sccg
|
compression: true
|
|
fdfs:
|
groupName: sczhzf
|
soTimeout: 1500
|
connectTimeout: 600
|
trackerList: #TrackerList参数,支持多个
|
- 140.143.152.226:22122
|
|
cfg:
|
res: d://resources
|
media-res: 140.143.152.226/media/
|
snow-flake:
|
datacenterId: 1
|
machineId: 1
|
|
spring:
|
redis:
|
database: 0
|
host: 42.193.1.25
|
port: 6379
|
password: ycl2018
|
jedis:
|
pool:
|
max-active: 8
|
max-idle: 8
|
min-idle: 0
|
timeout: 0
|
|
datasource:
|
url: jdbc:mysql://42.193.1.25:3306/sccg?useUnicode=true&characterEncoding=utf8&autoReconnect=true&useSSL=false
|
username: root
|
password: 321$YcYl@1970!
|
type: com.alibaba.druid.pool.DruidDataSource
|
driver-class-name: com.mysql.jdbc.Driver
|
filters: stat
|
maxActive: 20
|
initialSize: 1
|
maxWait: 60000
|
minIdle: 1
|
timeBetweenEvictionRunsMillis: 60000
|
minEvictableIdleTimeMillis: 300000
|
validationQuery: select 'x'
|
testWhileIdle: true
|
testOnBorrow: false
|
testOnReturn: false
|
poolPreparedStatements: true
|
maxOpenPreparedStatements: 20
|