|
@@ -17,7 +17,10 @@ eureka:
|
|
|
client:
|
|
|
service-url:
|
|
|
defaultZone: http://root:root@${EUREKA_HOST:localhost}:${EUREKA_PORT:8061}/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}
|
|
|
#feign设置
|
|
|
openfeign:
|
|
|
ESFeign:
|