From 40707dae315780893286fca2eab674a85756d0e8 Mon Sep 17 00:00:00 2001 From: yangjie <1179743470@qq.com> Date: Fri, 14 May 2021 10:13:31 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95=E6=9C=8D=E5=8A=A1=E5=99=A8?= =?UTF-8?q?=E5=8A=A0=E4=B8=8A=E5=AF=86=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../resources/application-prod.properties | 59 +++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 src/main/resources/application-prod.properties diff --git a/src/main/resources/application-prod.properties b/src/main/resources/application-prod.properties new file mode 100644 index 0000000..1ac71b4 --- /dev/null +++ b/src/main/resources/application-prod.properties @@ -0,0 +1,59 @@ +# See http://docs.spring.io/spring-boot/docs/current/reference/html/common-application-properties.html +spring.thymeleaf.cache=false +spring.main.show-banner=false + +logging.level.jdbc=OFF +logging.level.jdbc.sqltiming=DEBUG +logging.level.jdbc.resultsettable=DEBUG +logging.level.com.yipin.liuwar.mapper=DEBUG +#科大数据库 116.63.168.79 +spring.datasource.url=jdbc:mysql://192.168.0.99:3306/keda?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai +spring.datasource.username=root +spring.datasource.password=mssdk@028 +spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver +#川大数据库 +#spring.datasource.url=jdbc:mysql://139.9.247.137:3306/keda?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai +#spring.datasource.username=root +#spring.datasource.password=123456 +#spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver + +spring.mina.port=9123 +spring.mina.buffersize=2048 +spring.mina.idletime=15 + +spring.redis.database=0 +spring.redis.host=127.0.0.1 +spring.redis.password=msdw@2021 +#spring.redis.password= +spring.redis.port=6379 +spring.redis.timeout=3000 +spring.redis.jedis.pool.max-idle=500 +spring.redis.jedis.pool.min-idle=50 +spring.redis.jedis.pool.max-active=2000 +spring.redis.jedis.pool.max-wait=1000 +#spring.redis.pool.max-idle=500 +#spring.redis.pool.min-idle=50 +#spring.redis.pool.max-active=2000 +#spring.redis.pool.max-wait=1000 + +spring.elasticsearch.rest.uris=http://es-cn-v641e944a0006xtwy.elasticsearch.aliyuncs.com:9200 +spring.elasticsearch.rest.username=elastic +spring.elasticsearch.rest.password=1qaz@WSX + +pagehelper.reasonable=false + +# maxFileSize \u5355\u4E2A\u6570\u636E\u5927\u5C0F +spring.servlet.multipart.maxFileSize = 1024MB +# maxRequestSize \u662F\u603B\u6570\u636E\u5927\u5C0F +spring.servlet.multipart.maxRequestSize=10240MB + +logging.level.com.yipin.liuwanr.mapper=debug + +#redis-cluster +redis.cluster.maxTotal=200 +redis.cluster.maxIdle=8 +redis.cluster.minIdle=3 +redis.cluster.nodes=192.168.136.191:8000,192.168.136.191:8001,192.168.136.191:8002 + +server.port=8090 +server.servlet.context-path= /liuwanr \ No newline at end of file