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

Make listen port configurable #16

Merged
merged 2 commits into from
Dec 8, 2017
Merged

Conversation

tmshn
Copy link

@tmshn tmshn commented Oct 19, 2017

As described in README, I made listen port configurable.
Default port is still 80, so it's backward compatible ;)

This is useful when used with Google App Engine, which require containers to listen on 8080.

https://cloud.google.com/appengine/docs/flexible/custom-runtimes/build#listen_to_port_8080

I'm planning to send a pr to https://github.com/tiangolo/uwsgi-nginx-flask-docker too.

README.md Outdated
## What's new

* 2017-10-XX: Now you can configure which port the container should listen on, using the environment variable `LISTEN_PORT`.
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Modify the date when you push the image, plz 🙏

@tmshn
Copy link
Author

tmshn commented Oct 19, 2017

Oh, and there're Alpine versions coming...I should have waited for them.

@tiangolo
Copy link
Owner

Thanks! I'll review soon. 🎉

@tiangolo tiangolo merged commit 3a44650 into tiangolo:master Dec 8, 2017
@tiangolo
Copy link
Owner

tiangolo commented Dec 8, 2017

Thank you for your work @tmshn !

And thanks for clearly explaining the reason and linking the documentation that supports it.

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

Successfully merging this pull request may close these issues.

2 participants