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

Load environment variables from a .env file #1941

Closed
JulienDuf opened this issue Nov 2, 2017 · 3 comments
Closed

Load environment variables from a .env file #1941

JulienDuf opened this issue Nov 2, 2017 · 3 comments
Labels
feature ⚙️ New feature or request

Comments

@JulienDuf
Copy link

2. What are you trying to do?

Load my environment variables from a .env file.

What I propose

Use the github.com/joho/godotenv package.
With this package, we can load .env file from anywhere.

I'm using caddy with a lot of environment variables and it would be useful to put all those variables in a single file

@tobya tobya added the feature ⚙️ New feature or request label Nov 3, 2017
@tobya
Copy link
Collaborator

tobya commented Nov 3, 2017

Thank you for the issue.

We are also always happy to look at a PR. 😄

@SmilingNavern
Copy link

Would like to try to implement this:)

@abiosoft
Copy link

Sure, you can go ahead.

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

No branches or pull requests

5 participants