figaro
figaro copied to clipboard
Add capability to load a local "override" settings file?
We will be using figaro by sharing an application.yml
file via means outside of the app. However, there is still a need for occasional personal overrides. The problem with "just modifying application.yml
" is that everytime the upstream changes, you have to reconcile your local customizations manually.
dotenv has the .env.local
file which addresses this, whereas I don't think figaro provides any such capability. Is this something that's planned for in the future, otherwise would somebody mind giving me a quick pointer on how I could implement something like this within a Rails app which would load another yaml which would overlay the main application.yml
?
This is something that I would find useful as well. On a project we're trying to move to a common config/application.yml
that holds development and test configs as well as documenting all of the environment configs supported by the application. It's still an ongoing discussion internally.
I would love to see support for config/application.local.yml
for this.