DarthSim / overmind

Process manager for Procfile-based applications and tmux
MIT License
2.82k stars 79 forks source link

Supports multiple environment overrides #125

Closed scalp42 closed 2 years ago

scalp42 commented 2 years ago

Hey @DarthSim

Thanks for the project!

Would you be open to add the feature of environment overloading?

For example:

-e .env,.env.prod,.env.prod

Where the last file inserts/upserts whatever ENV var exist.

Hopefully it makes sense but let me know.

Cheers!

DarthSim commented 2 years ago

Hey @scalp42! v2.3.0 allows OVERMIND_ENV to contain multiple file paths

scalp42 commented 2 years ago

@DarthSim thanks a lot!

If a file path doesn't exist, does it just skip it without breaking? Ideally it just warns or something but wondering.

DarthSim commented 2 years ago

It just skips it