application.properties 846 Bytes
server.port=8080

spring.datasource.url=jdbc:mysql://localhost:3306/demo
spring.datasource.username=wangbin
spring.datasource.password=wangbin
spring.datasource.driver-class-name=com.mysql.jdbc.Driver
spring.datasource.type=com.alibaba.druid.pool.DruidDataSource

spring.h2.console.enabled=true
spring.jpa.open-in-view=true
spring.data.jpa.repositories.bootstrap-mode=default
logging.level.org.hibernate.SQL=debug

#允许覆盖bean注入
spring.main.allow-bean-definition-overriding=true

#redis配置
spring.redis.host=localhost
spring.redis.port=6379
spring.redis.timeout=30
spring.redis.password=
spring.redis.database=0
spring.redis.jedis.pool.max-idle=8
spring.redis.jedis.pool.min-idle=0
spring.redis.jedis.pool.max-active=8
spring.redis.jedis.pool.max-wait=-1

logging.config=classpath:logback-spring.xml
logging.path=/home/wangbin/logs/