This project demonstrates a Spring Cloud Config Server that provides centralized configuration to a microservice.
- Java 25+
- Maven
- Docker
- Docker Compose
Navigate into each module and build them using Maven:
cd config-server
mvn clean package
cd ../microservice
mvn clean packageGo back to the root directory and start both services:
cd ..
docker-compose up --buildOnce the containers are running:
- 
Open Config Server in your browser: 
 http://localhost:8080You should see a JSON response with configuration values (for example, the app.propertyvalue).
- 
The microservice fetches its configuration from the Config Server at startup. 
To stop all containers:
docker-compose down