figaro icon indicating copy to clipboard operation
figaro copied to clipboard

Add capability to load a local "override" settings file?

Open suan opened this issue 9 years ago • 1 comments

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?

suan avatar Apr 01 '15 14:04 suan

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.

gaffneyc avatar Aug 26 '15 15:08 gaffneyc