2017-10-13 09:51:29 +00:00
|
|
|
spring:
|
|
|
|
|
datasource:
|
2018-05-16 02:52:50 +00:00
|
|
|
driver-class-name: com.mysql.jdbc.Driver
|
|
|
|
|
url: jdbc:mysql://localhost:3306/boot_security?useUnicode=true&characterEncoding=utf-8&allowMultiQueries=true&useSSL=false
|
|
|
|
|
username: root
|
|
|
|
|
password: root
|
2018-05-24 14:31:23 +00:00
|
|
|
druid:
|
|
|
|
|
initialSize: 5
|
|
|
|
|
minIdle: 5
|
|
|
|
|
maxActive: 20
|
|
|
|
|
maxWait: 60000
|
|
|
|
|
timeBetweenEvictionRunsMillis: 60000
|
|
|
|
|
minEvictableIdleTimeMillis: 300000
|
|
|
|
|
validationQuery: SELECT 1
|
|
|
|
|
testWhileIdle: true
|
|
|
|
|
testOnBorrow: true
|
|
|
|
|
testOnReturn: false
|
|
|
|
|
poolPreparedStatements: true
|
|
|
|
|
maxPoolPreparedStatementPerConnectionSize: 20
|
|
|
|
|
filters: stat,wall
|
|
|
|
|
connectionProperties: druid.stat.mergeSql=true;druid.stat.slowSqlMillis=5000
|
2018-05-25 01:10:29 +00:00
|
|
|
stat-view-servlet:
|
|
|
|
|
allow: 127.0.0.1
|
2017-10-13 09:51:29 +00:00
|
|
|
jackson:
|
|
|
|
|
date-format: yyyy-MM-dd HH:mm:ss
|
|
|
|
|
joda-date-time-format: yyyy-MM-dd HH:mm:ss
|
|
|
|
|
time-zone: GMT+8
|
2018-03-15 03:40:28 +00:00
|
|
|
servlet:
|
2017-10-13 09:51:29 +00:00
|
|
|
multipart:
|
|
|
|
|
max-file-size: 100MB
|
|
|
|
|
max-request-size: 100MB
|
|
|
|
|
mvc:
|
|
|
|
|
servlet:
|
|
|
|
|
load-on-startup: 1
|
|
|
|
|
redis:
|
|
|
|
|
host: localhost
|
|
|
|
|
port: 6379
|
2018-05-25 03:09:23 +00:00
|
|
|
timeout: 5000
|
2018-05-24 00:53:21 +00:00
|
|
|
lettuce:
|
|
|
|
|
pool:
|
|
|
|
|
min-idle: 0
|
|
|
|
|
max-idle: 8
|
|
|
|
|
max-active: 8
|
|
|
|
|
max-wait: -1
|
2017-10-13 09:51:29 +00:00
|
|
|
mail:
|
|
|
|
|
default-encoding: UTF-8
|
|
|
|
|
host: smtp.163.com
|
2018-03-09 06:02:27 +00:00
|
|
|
username:
|
|
|
|
|
password:
|
2017-10-13 09:51:29 +00:00
|
|
|
protocol: smtp
|
|
|
|
|
test-connection: false
|
|
|
|
|
mybatis:
|
|
|
|
|
type-aliases-package: com.boot.security.server.model
|
|
|
|
|
mapper-locations: classpath:/mybatis-mappers/*
|
|
|
|
|
configuration:
|
|
|
|
|
mapUnderscoreToCamelCase: true
|
|
|
|
|
files:
|
|
|
|
|
path: ${file-path:d:/files}
|
2017-10-16 03:32:26 +00:00
|
|
|
logging:
|
|
|
|
|
config: classpath:logback-admin.xml
|
|
|
|
|
log:
|
|
|
|
|
level:
|
|
|
|
|
root: info
|
|
|
|
|
my: debug
|
|
|
|
|
file: logs/admin-server.log
|
|
|
|
|
maxsize: 30MB
|
2017-10-13 09:51:29 +00:00
|
|
|
token:
|
|
|
|
|
expire:
|
2017-11-30 02:23:30 +00:00
|
|
|
seconds: 7200
|
2017-12-29 06:22:43 +00:00
|
|
|
jwtSecret: (XIAO:)_$^11244^%$_(WEI:)_@@++--(LAO:)_++++_.sds_(SHI:)
|
2017-10-13 09:51:29 +00:00
|
|
|
server:
|
|
|
|
|
port: 8080
|