datum
datum copied to clipboard
[Bug] Environment variables do not override config file values
Describe the bug or issue you're encountering Setting an environment variable to override a config file value does not work as expected. The config value is not overridden.
What are the relevant steps to reproduce, including the version(s) of the relevant software?
- Create a
.config.yamlfile from the example file, leave the defaults in place. - Run
task run-devfrom the root of the repository. - Observe that the
datum-apiserver will fail to connect toauthzbecause the.config.yamlvalue fromconfig-dev.example.yamlis not overridden by the environment variable set indocker/docker-compose.yml.
What is the expected behavior? The environment variable value should take precedence.