October 2018
Intermediate to advanced
982 pages
23h 29m
English
Our Config Server needs to be configured. For that purpose, we will use the application.yaml file. This file should be simple and with minimal configurations as well. The configuration file should look like this:
server: port: 5000spring: cloud: config: name: configserver server: git: uri: https://github.com/PacktPublishing/Spring-5.0-By-Example search-paths: config-files*
We have configured the application port, which is a common task. We named our Config Server, and the most important part is the server.git.uri configuration property which instructs the Spring Framework to get the configurations files.
Another configuration is search-paths; it allows us to search the configuration in ...
Read now
Unlock full access