Ver Fonte

lrl- 2021-19-17

lirl há 3 anos atrás
pai
commit
ffe95f878d
1 ficheiros alterados com 7 adições e 7 exclusões
  1. 7 7
      src/main/resources/bootstrap.yml

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

@@ -9,12 +9,12 @@ spring:
     sampler:
       #默认值为0.1f,现在为了测试设置100%采集
       percentage: 1.0
-#  cloud:
-#    config:
-#      fail-fast: true
-#      discovery:
-#        enabled: true
-#        service-id: config-server
+  cloud:
+    config:
+      fail-fast: true
+      discovery:
+        enabled: true
+        service-id: config-server
     bus:
       trace:
        enabled: true
@@ -26,7 +26,7 @@ server:
 eureka:
   client:
     serviceUrl:
-      defaultZone: http://root:root@${EUREKA_HOST:172.16.90.238}:${EUREKA_PORT:8086}/eureka/
+      defaultZone: http://root:root@${EUREKA_HOST:localhost}:${EUREKA_PORT:8019}/eureka/
     metadata-map:
       cluster: ribbon
   instance: