-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
run: Add the possibility to load an env file #3278
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Woohoo! Thanks!
Fixes #3009 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@elcore This looks pretty good! Thanks!
Can you fix the merge conflict too and then we can get this wrapped up.
Co-authored-by: Matt Holt <mholt@users.noreply.github.com>
No idea what I have done to dismiss the review... I have just resolved the merge conflict... |
It's automatic; we require any changes going into master to be reviewed. Thanks @elcore ! |
could you add envfile in |
@jesse996 Probably -- a bit busy right now, but PRs welcome, should be pretty easy! |
This PR adds the possibility to load an env file from the
run
command.caddy run --envfile <path>
Credit: @SmilingNavern for implementing this code in Caddy v1