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

Support for multiple .env files: .env.<mode> #94

Open
BierDav opened this issue Oct 2, 2024 · 0 comments
Open

Support for multiple .env files: .env.<mode> #94

BierDav opened this issue Oct 2, 2024 · 0 comments
Assignees

Comments

@BierDav
Copy link

BierDav commented Oct 2, 2024

Is your feature request related to a problem? Please describe.
We use api keys to download external dependencies, but you mustn't include them in the git repository. So we define it in the .env.local file, which is excluded from git. But we also need to define other variables that should be stored in git. Those we want to store in .env.

Describe the solution you'd like
To support this behaviour it would be great, to be able to specify multiple files in dotenv.filename which will be all read and override each other in the order specified

Describe alternatives you've considered
Currently we use gradle.properties as an alternative to the .env files

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

No branches or pull requests

2 participants