Spring Boot application that provides server-side and client-side support for externalized configuration in a distributed system.
With the Config Server, you have a central place to manage external properties for applications across all environments.
Note that the external configuration can be hosted either on GitHub or on local file system, for demo purpose we'll use classpath resources.
Start application:
./gradlew bootRun
-
Start service.
# Clean build jar
./gradlew clean build
# Build docker image
./gradlew jibDockerBuild
Name | Endpoint |
---|---|
Config Server |
http://localhost:8888/ |
Service configuration for specific env |
http://localhost:8888/<SERVICE_NAME>/<PROFILE> |