Git-Backed Configuration
Version your config in a Git repository.
Why Git as the backend
Storing configuration in Git gives you version history, code review, and rollback. The Config Server simply reads files from a configured repository.
The config repo layout
Each service has one or more YAML/properties files named after its application name, optionally with a profile suffix.
// config-repo/
// application.yml (shared by all)
// orders.yml (orders, default profile)
// orders-prod.yml (orders, prod profile)
// inventory.ymlAll lessons in this course
- The Config Server
- Git-Backed Configuration
- Config Clients
- Refreshing Configuration at Runtime