-
The Mazadak Configs repository contains centralized configuration files for all microservices in the Mazadak platform.
-
These configuration files are consumed by the Config Server, which provides environment-specific settings to services at runtime using Spring Cloud Config.
-
This repository is the single source of truth for application properties, database connections, Kafka topics, and other service configurations across the platform.
- Each service's configuration file should be named
{spring.application.name}-{profile}.ymlfor it to be loaded, not having the{profile}part will register it with the default profile.
The Config Server automatically pulls these configuration files from this repository. Services retrieve their configuration from the Config Server at startup using:
http://config-server:18071/{service-name}/{profile}
Refer to Config Server Documentation.