February 2018
Intermediate to advanced
356 pages
9h 10m
English
Our Eureka server needs to be configured using the Spring Cloud Server configured in the previous sections. Then, we need to keep the application.yaml off our project, to use the Config Server properly. Instead of the application.yaml, we need to put the bootstrap.yaml and put the Config Server address on it.
Then, we need to:
Let's start with the discovery.yaml file. The file should look like this:
server: port: 8761eureka: instance: hostname: localhost health-check-url-path: /actuator/health status-page-url-path: /actuator/info client: registerWithEureka: false fetchRegistry: falselogging: level: com.netflix.discovery: ...