config.application-dev.properties Maven / Gradle / Ivy
#-------------\u7cfb\u7edf\u914d\u7f6e---------------------------
logging.file=./log/logback.log
logging.level.root=debug
logging.register-shutdown-hook=false
logging.config=classpath:config/logback-spring.xml
spring.aop.proxy-target-class=true
spring.aop.auto=true
#server.contextPath=/mqt
sys.pagesize=10
#-------------\u4e0a\u4f20\u5927\u5c0f---------------------------
#spring.http.multipart.maxFileSize=10Mb
#spring.http.multipart.maxRequestSize=10Mb
#-------------\u670d\u52a1\u542f\u52a8\u5173\u95ed\u914d\u7f6e--------------------------
endpoints.shutdown.enabled=true
endpoints.shutdown.sensitive=false
#-------------\u7cfb\u7edf\u76d1\u63a7--------------------------
management.port=8081
management.health.mail.enabled=true
#-------------mybatis mysql \u53ca\u8fde\u63a5\u6c60(dbcp2)\u914d\u7f6e--------------------------
mybatis.config-location=classpath:mybatis/mybatis-config.xml
mybatis.mapper-locations=classpath*:ly/im/mapping/**/*.xml
spring.datasource.driver-class-name = com.mysql.cj.jdbc.Driver
spring.datasource.url = jdbc:mysql://192.168.16.115:3306/test?allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&serverTimezone=GMT%2B8
#spring.datasource.url = jdbc:mysql://192.168.16.249:13306/im?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&serverTimezone=GMT%2B8
spring.datasource.username = root
spring.datasource.password = root
logging.level.ly.im.dao=debug
spring.datasource.type=org.apache.commons.dbcp2.BasicDataSource
spring.datasource.dbcp2.cache-state=true
spring.datasource.dbcp2.initial-size=10
spring.datasource.dbcp2.max-total=1000
spring.datasource.dbcp2.max-wait-millis=500
spring.datasource.dbcp2.min-idle=20
spring.datasource.dbcp2.validationQuery=SELECT 1
spring.datasource.dbcp2.pool-prepared-statements=true
spring.datasource.name="mybatis1"
#-------------neo4j \u8fde\u63a5\u914d\u7f6e--------------------------
spring.data.neo4j.username=neo4j
spring.data.neo4j.password=neo4j
spring.data.neo4j.uri=http://172.18.115.173:7474
#spring.data.neo4j.username=neo4j
#spring.data.neo4j.password=123456
#spring.data.neo4j.uri=http://127.0.0.1:7474
:
elasticsearch.cluster.name=cluster_im
elasticsearch.cluster.nodes=192.168.16.117:9300
#spring.data.elasticsearch.cluster-nodes=172.18.115.171:9201
#-------------\u6587\u4ef6\u5927\u5c0f\u4e0a\u4f20\u9650\u5236---------------------------
spring.http.multipart.max-request-size = 10Mb
spring.http.multipart.max-file-size=10Mb
#-------------Tomcate\u914d\u7f6e---------------------------
server.port=8080
server.session.timeout=60
server.tomcat.max-threads=800
server.tomcat.uri-encoding=UTF-8
server.tomcat.basedir=./tmp