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

Environment and local config support #24

Open
tracker1 opened this issue Mar 28, 2020 · 0 comments
Open

Environment and local config support #24

tracker1 opened this issue Mar 28, 2020 · 0 comments

Comments

@tracker1
Copy link
Contributor

After working with another library that does this with node projects, it's enabled an easier path for configuring/using .env out of the box with projects.

In addition to default searching for .env file, search for the following file(s) in the following order...

  • .env.%DOTNET_ENV%.local
  • .env.%DOTNET_ENV%
  • .env.local
  • .env

Where %DOTNET_ENV% uses the environment variable if already set.


Related to #11 and #22

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

No branches or pull requests

2 participants