提交 3e4e8ef9 编写于 作者: L lepdou

Merge pull request #232 from nobodyiam/eureka-config

Eureka config
...@@ -7,6 +7,7 @@ eureka: ...@@ -7,6 +7,7 @@ eureka:
defaultZone: http://${eureka.instance.hostname}:8080/eureka/ defaultZone: http://${eureka.instance.hostname}:8080/eureka/
healthcheck: healthcheck:
enabled: true enabled: true
eurekaServiceUrlPollIntervalSeconds: 60
endpoints: endpoints:
health: health:
...@@ -17,4 +18,4 @@ management: ...@@ -17,4 +18,4 @@ management:
enabled: false enabled: false
health: health:
status: status:
order: DOWN, OUT_OF_SERVICE, UNKNOWN, UP order: DOWN, OUT_OF_SERVICE, UNKNOWN, UP
\ No newline at end of file
...@@ -3,12 +3,14 @@ eureka: ...@@ -3,12 +3,14 @@ eureka:
hostname: ${hostname:localhost} hostname: ${hostname:localhost}
preferIpAddress: true preferIpAddress: true
server: server:
peerEurekaNodesUpdateIntervalMs: 60000
enableSelfPreservation: false enableSelfPreservation: false
client: client:
serviceUrl: serviceUrl:
defaultZone: http://${eureka.instance.hostname}:8080/eureka/ defaultZone: http://${eureka.instance.hostname}:8080/eureka/
healthcheck: healthcheck:
enabled: true enabled: true
eurekaServiceUrlPollIntervalSeconds: 60
endpoints: endpoints:
health: health:
...@@ -19,4 +21,4 @@ management: ...@@ -19,4 +21,4 @@ management:
enabled: false enabled: false
health: health:
status: status:
order: DOWN, OUT_OF_SERVICE, UNKNOWN, UP order: DOWN, OUT_OF_SERVICE, UNKNOWN, UP
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册