Skip to content

YOUHAD08/microservices-config

Repository files navigation

microservices-config

Centralized Git-backed configuration repository for the microservices-architecture project. Used by the Spring Cloud Config Server (port 9999) to serve externalized configuration to all microservices.

📁 Files

File Description
application.properties Global shared config applied to all services
billing-service.properties Billing service specific config
customer-service.properties Customer service default config
customer-service-dev.properties Customer service - dev profile
customer-service-prod.properties Customer service - prod profile
customer-service-test.properties Customer service - test profile
inventory-service.properties Inventory service config

⚙️ How It Works

The Config Server fetches configuration from this repository and serves it to each microservice at startup based on the service name and active profile:

http://localhost:9999/{service-name}/{profile}

Each microservice connects to the Config Server with:

spring.cloud.config.enabled=true
spring.config.import=optional:configserver:http://localhost:9999

🔗 Related Repository

microservices-architecture — the main project that consumes this config.

About

Git-backed centralized configuration repository for the microservices-architecture project, served by Spring Cloud Config Server.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors