|
@@ -1,6 +1,6 @@
|
|
|
server:
|
|
|
port: 8910
|
|
|
- #ip: 127.0.0.1
|
|
|
+# ip: 127.0.0.1
|
|
|
servlet:
|
|
|
context-path: /okr
|
|
|
compression:
|
|
@@ -74,11 +74,6 @@ spring:
|
|
|
connectionProperties: druid.stat.mergeSql\=true;druid.stat.slowSqlMillis\=5000
|
|
|
datasource:
|
|
|
master:
|
|
|
- #dev
|
|
|
-# url: jdbc:mysql://39.106.184.70:3306/okr?characterEncoding=UTF-8&useUnicode=true&useSSL=false
|
|
|
-# username: hcst
|
|
|
-# password: test@20190531
|
|
|
-
|
|
|
#prod
|
|
|
url: jdbc:mysql://139.186.27.96:3306/okr?characterEncoding=UTF-8&useUnicode=true&useSSL=false
|
|
|
username: hcst
|
|
@@ -87,8 +82,8 @@ spring:
|
|
|
#redis 配置
|
|
|
redis:
|
|
|
database: 0
|
|
|
- host: 127.0.0.1
|
|
|
-# host: 172.30.0.17
|
|
|
+# host: 127.0.0.1
|
|
|
+ host: 172.30.0.17
|
|
|
lettuce:
|
|
|
pool:
|
|
|
max-active: 8 #最大连接数据库连接数,设 0 为没有限制
|
|
@@ -96,7 +91,7 @@ spring:
|
|
|
max-wait: -1ms #最大建立连接等待时间。如果超过此时间将接到异常。设为-1表示无限制。
|
|
|
min-idle: 0 #最小等待连接中的数量,设 0 为没有限制
|
|
|
shutdown-timeout: 100ms
|
|
|
-# password: foobared
|
|
|
+ password: foobared
|
|
|
port: 6379
|
|
|
|
|
|
|