This is just a little scratchpad / design document for figuring out how to deal with configuration.
Sources of Configuration
- Local config file
- Environment variables (for easily putting into docker)
- CLI parameters
Flow of Configuration
- Load at startup from
- Nice to have: monitoring & live reloading of that configuration file.
- Load at startup from environment variables
- Will never change.
- Load at startup from CLI parameters
- Will also never change
- Receive new config via API (for Lineup integration)
- Will require live adjustments of configuration.