-
Notifications
You must be signed in to change notification settings - Fork 10.3k
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
fix(gatsby-cli): added HOST environment variable #26712
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.
Looks good to me, thanks for adding. Can you add it to the serve command as well so we keep things consistent?
Hi @mgurevin, is this still something you can work on? |
I'm not sure passing the port to serve as well is a good idea, as you'd expect them to be on different ports. The host could be passed though. |
Description
I wanted to run develop command with a custom listener address under the container environment but I couldn't find a way to comply 12factor. So this patch considers
HOST
env value as the default host value if defined.Documentation
Related Issues