Dockerfile.3cn-parent-init
Dockerfile.update-3cn-parent
build-3cn-parent-image.sh
build-all-microservice-images.sh
docker-compose-multi-stage-build.yml
pull-all-microservice-images.sh
push-all-microservice-images.sh
update-3cn-parent-image.sh
Folders and files Name Name Last commit message
Last commit date
parent directory Jan 30, 2022
Jun 27, 2021
Jun 27, 2021
Oct 17, 2021
Aug 1, 2021
Jun 27, 2021
View all files
Config Server which automatically injects configurations where we import participant configs to our apps
spring-cloud-config-server
Spring Cloud Configuration Server
In application.properties add application.name and server.port
Add @EnableConfigServer at main class
Link a local repository as Source
Create a file in a local repository about api-composer.properties
Add ls.max and ls.min in this file
Add spring.cloud.config.server.git.uri=location of
/path/to/git/repo/properties/file
Now we can navigate http://localhost:8888/api-composer/default to
check the properties of api-composer.properties
Now we can create files such as api-composer-dev.properties
and api-composer-qa, and we have options to navigate to
http://localhost:8888/api-composer/dev or
http://localhost:8888/api-composer/qa
You can’t perform that action at this time.