|
@@ -1,8 +1,8 @@
|
|
|
# 项目相关配置
|
|
|
gyee:
|
|
|
#API访问ip
|
|
|
- #swaggerip: 49.4.50.80:8082
|
|
|
- swaggerip: 192.168.56.1:8170
|
|
|
+ #swaggerip: 192.168.56.1:8170
|
|
|
+ swaggerip: 192.168.2.216:8170
|
|
|
server:
|
|
|
port: 8170
|
|
|
|
|
@@ -13,6 +13,7 @@ spring:
|
|
|
nacos:
|
|
|
discovery:
|
|
|
server-addr: 192.168.56.1:8848
|
|
|
+ #server-addr: 192.168.2.216:8848
|
|
|
#指定yaml格式的配置
|
|
|
file-extension: yaml
|
|
|
cluster-name: master
|
|
@@ -20,10 +21,10 @@ spring:
|
|
|
password: nacos
|
|
|
#redis集群
|
|
|
redis:
|
|
|
-# host: 10.83.68.94
|
|
|
- host: 123.60.213.70
|
|
|
+ #host: 10.83.68.94
|
|
|
+ host: 192.168.2.202
|
|
|
# host: 10.155.32.4
|
|
|
- password: gdnxfd123
|
|
|
+ password:
|
|
|
port: 6379
|
|
|
timeout: 100000
|
|
|
# 集群环境打开下面注释,单机不需要打开
|
|
@@ -40,7 +41,7 @@ spring:
|
|
|
min-idle: 0
|
|
|
max-idle: 8
|
|
|
max-wait: -1
|
|
|
- database: 1
|
|
|
+ database: 19
|
|
|
autoconfigure:
|
|
|
exclude: org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration,org.springframework.boot.autoconfigure.jdbc.DataSourceTransactionManagerAutoConfiguration
|
|
|
datasource:
|
|
@@ -104,6 +105,7 @@ feign:
|
|
|
connect-timeout: 60000
|
|
|
provider:
|
|
|
url: http://192.168.56.1:8171/
|
|
|
+ #url: http://192.168.2.216:8171/
|
|
|
management:
|
|
|
endpoints:
|
|
|
jmx:
|