luobang 3 年之前
父節點
當前提交
0530f94436
共有 2 個文件被更改,包括 3 次插入3 次删除
  1. 1 1
      src/main/resources/application-prod.yml
  2. 2 2
      src/main/resources/bootstrap.yml

+ 1 - 1
src/main/resources/application-prod.yml

@@ -9,7 +9,7 @@ spring:
 
 openfeign:
   ColumnDataFeign:
-    url: ${COLUMNDATAFEIGN_URL:172.16.33.161:8083}
+    url: ${COLUMNDATAFEIGN_URL:172.16.33.166:8083}
   AmsFeign:
     url: ${AMSFEIGN_URL:172.16.33.166:8079}
   BmsshipFeign:

+ 2 - 2
src/main/resources/bootstrap.yml

@@ -18,8 +18,8 @@ eureka:
     service-url:
 
       defaultZone: http://root:root@${EUREKA_HOST:172.16.33.166}:${EUREKA_PORT:8081}/eureka/
-    register-with-eureka: false #表示向EurekaServer注册自己 默认为true
-    fetch-registry: false #是否从EurekaServer抓取已有的注册信息,默认为true,单节点无所谓,集群必须设置为true才能配合ribbon使用负载均衡
+    register-with-eureka: true #表示向EurekaServer注册自己 默认为true
+    fetch-registry: true #是否从EurekaServer抓取已有的注册信息,默认为true,单节点无所谓,集群必须设置为true才能配合ribbon使用负载均衡
 
 
   instance: