Please enable JavaScript.
Coggle requires JavaScript to display documents.
Spring Cloud Config Server - Coggle Diagram
Spring Cloud Config Server
Each microservice has it own configuration.
Database configuration
External server configuration
Business logic configuration
For each microservice there may exist multiple environments
Dev
QA
Stage
Production
Spring Cloud Config Server allows to place all the microservices configuration in a single git repository.
Required Configurations In server
Give an application name
spring.application.name=spring-cloud-config-server
When creating the project add
DevTools
Config Server
create an empty git repository
create a name-service.properties file with the properties for the desired service.
spring.cloud.config.server.git.uri=file:///Users/alejandro.garcia/Documents/Udemy/SpringCloud/git-localconfig-repo
Annotate the main class with
EnableConfigServer
Required configurations in client
Rename application.properties to bootstrap.properties
spring.application.name=limits-service
spring.cloud.config.uri=
http://localhost:8888