Skip to content
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

Read multiple environment files by default #4

Open
dentarg opened this issue Dec 17, 2024 · 1 comment
Open

Read multiple environment files by default #4

dentarg opened this issue Dec 17, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@dentarg
Copy link
Member

dentarg commented Dec 17, 2024

It would be good if overman read multiple environment files by default, so you could have one file with your non-secrets, potentially checked in to make it easier for new developers to get started, and (optionally) another file with secrets, if needed.

Seeing we currently default to loading from .env if it exists, and that it is common that you have some secrets in this file, we could treat this one as the "second" file with secrets, and that it takes precedence over the first one.

Perhaps a good simple start is just to introduce reading .default.env before reading .env?

The name could be discussed and we could potentially let the names be controlled by the .foreman file?

@dentarg
Copy link
Member Author

dentarg commented Dec 17, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant