Commit 3e4e8ef9 by lepdou

Merge pull request #232 from nobodyiam/eureka-config

Eureka config
parents 1d4d3ff2 47a8f8e2
......@@ -7,6 +7,7 @@ eureka:
defaultZone: http://${eureka.instance.hostname}:8080/eureka/
healthcheck:
enabled: true
eurekaServiceUrlPollIntervalSeconds: 60
endpoints:
health:
......
......@@ -3,12 +3,14 @@ eureka:
hostname: ${hostname:localhost}
preferIpAddress: true
server:
peerEurekaNodesUpdateIntervalMs: 60000
enableSelfPreservation: false
client:
serviceUrl:
defaultZone: http://${eureka.instance.hostname}:8080/eureka/
healthcheck:
enabled: true
eurekaServiceUrlPollIntervalSeconds: 60
endpoints:
health:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment