You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
723 B
27 lines
723 B
# logback日志操作
|
|
logging.config=classpath:logback-spring.xml
|
|
logging.path=./logs/
|
|
|
|
# 服务器信息
|
|
server.port=9090
|
|
# 服务请求上下文
|
|
#server.servlet.context-path=/chapi
|
|
mybatis.mapper-locations=classpath*:/mapper/**/*.xml
|
|
|
|
#指定redis信息 (如 host, ip, password)
|
|
spring.redis.host=localhost
|
|
spring.redis.port=6379
|
|
#没有密码可以不用配置这个
|
|
#spring.redis.password=123456
|
|
|
|
#spring.datasource.validationQuery=SELECT 'x'
|
|
spring.datasource.validationQuery=SELECT 1 FROM DUAL
|
|
|
|
# 连接池配置
|
|
spring.redis.jedis.pool.enabled=true
|
|
# 最大连接
|
|
spring.redis.jedis.pool.max-active=8
|
|
spring.redis.jedis.pool.max-wait=-1
|
|
|
|
# 暂使用单机模式进行任务管理
|
|
spring.quartz.job-store-type=memory
|
|
|