New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RFC: Allow multiple settings files to be merged into one. #86

rochacbruno opened this Issue Sep 21, 2018 · 0 comments


None yet
1 participant

rochacbruno commented Sep 21, 2018

Targeting plugin based applications take as example:

Configuration for general program is in export SETTINGS_FOR_DYNACONF=/etc/program/settings.ext (ext being any of the supported formats yaml, json, ini, toml etc)

That same program has plugins and plugin stores its settings under different path like /etc/plugin_name/settings.yaml

RFC: Allow include of settings files in different formats.

Then /etc/program/settings.yaml

        - /etc/plugin_name/settings.yaml
        - /etc/other_plugin_name/settings.toml

then All the loaders will take the special DYNACONF_INCLUDE key then load values from each of the files listed using the normal pipeline.


  • Backwards compatibility
  • Set a maximum recursion level (be conservative about it)
  • Multiple [envs] should be considered
  • Preserve the ordering
  • Evaluate nested includings (maybe allow only on first level)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment