application-test.properties 1.9 KB
Newer Older
S
shenhongxi 已提交
1 2 3 4 5 6 7 8 9
server.port: 80

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
shenhongxi 已提交
10
#
S
shenhongxi 已提交
11 12 13
#management.port: 9900
#management.address: 127.0.0.1

S
welcome  
shenhongxi 已提交
14
#server.contextPath=/user
S
shenhongxi 已提交
15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58

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

mybatis.config-location=classpath:mybatis-config.xml

# 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

spring.jackson.date-format=yyyy-MM-dd HH:mm:ss

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 已提交
59
user.welcome=Hello, World!
S
shenhongxi 已提交
60
user.noFilterUrl=/,/login
S
shenhongxi 已提交
61

S
shenhongxi 已提交
62
spring.thymeleaf.cache=false
S
i18n  
shenhongxi 已提交
63 64 65

#i18n
spring.messages.basename=i18n/messages