application-test.properties 1.7 KB
Newer Older
武汉红喜's avatar
武汉红喜 已提交
1
server.port: 8083
S
shenhongxi 已提交
2 3 4 5 6 7 8 9

spring.session.store-type=redis
server.session.timeout=14400

#server.session.cookie.domain=${toutiao.domain}
#server.session.cookie.http-only=true
#server.session.cookie.path=/

S
welcome  
shenhongxi 已提交
10
#server.contextPath=/user
S
shenhongxi 已提交
11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34

server.tomcat.uri-encoding=UTF-8
server.tomcat.basedir=/data/wely/logs

server.tomcat.accesslog.directory=logs
server.tomcat.accesslog.enabled=true
server.tomcat.accesslog.pattern=common
server.tomcat.accesslog.prefix=access_log
server.tomcat.accesslog.suffix=.log

spring.datasource.url=jdbc:mysql://127.0.0.1:3306/wely?useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true
spring.datasource.username=root
spring.datasource.password=123456
spring.datasource.driver-class-name=com.mysql.jdbc.Driver
spring.datasource.tomcat.min-idle=10
spring.datasource.tomcat.max-idle=50
spring.datasource.tomcat.max-active=100
spring.datasource.tomcat.max-wait=10000
spring.datasource.tomcat.max-age=10000
spring.datasource.tomcat.test-on-borrow=true
spring.datasource.tomcat.test-on-return=false
spring.datasource.tomcat.test-while-idle=true
spring.datasource.tomcat.time-between-eviction-runs-millis=5000
spring.datasource.tomcat.validation-query=SELECT 1
S
shenhongxi 已提交
35
#spring.datasource.type = com.alibaba.druid.pool.DruidDataSource
S
shenhongxi 已提交
36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51

# REDIS (RedisProperties)
spring.redis.host=127.0.0.1
spring.redis.password=123456
spring.redis.pool.max-active=8
spring.redis.pool.max-idle=8
spring.redis.pool.max-wait=-1
spring.redis.pool.min-idle=1
spring.redis.port=6379
spring.redis.timeout=0

toutiao.domain=www.toutiao.im
toutiao.loginCallback=http://${toutiao.domain}/user/login
toutiao.logoutCallback=http://${toutiao.domain}/
toutiao.loginSuccessIndex=http://${toutiao.domain}/index.html

S
welcome  
shenhongxi 已提交
52
user.welcome=Hello, World!
S
shenhongxi 已提交
53
user.noFilterUrl=/,/login
S
shenhongxi 已提交
54

S
i18n  
shenhongxi 已提交
55