Explorar o código

Merge branch 'dev' of https://git.steerinfo.com/DAL-DAZHOU1/DAL-DAZHOU-BMSSHIP-API into dev

HUJIANGUO %!s(int64=4) %!d(string=hai) anos
pai
achega
ce8ded5330
Modificáronse 1 ficheiros con 5 adicións e 1 borrados
  1. 5 1
      src/main/resources/bootstrap.yml

+ 5 - 1
src/main/resources/bootstrap.yml

@@ -22,7 +22,11 @@ openfeign:
 eureka:
   client:
     service-url:
-      defaultZone: http://root:root@discovery.steerinfo.com/eureka/
+      defaultZone: http://root:root@${EUREKA_HOST:paas-discovery-test.steerinfo.com}:${EUREKA_PORT:80}/eureka/
+  instance:
+    prefer-ip-address: true
+    status-page-url: http://${spring.cloud.client.ip-address}:${server.port}/swagger-ui.html#/
+    instance-id: ${spring.cloud.client.ip-address}:${server.port}
 
 genxml:
   pth: com/a