Kong / httpbin

ISC License
12 stars 4 forks source link

allow setting the port via env var #19

Open averykhoo opened 1 year ago

averykhoo commented 1 year ago

Rather than hardcoding it to port 80 here it would be nice to be able to set the port to something else. For example, if the PORT=80 var is defined by default and the -b arg is dropped from the docker CMD, then gunicorn binds to 0.0.0.0:$PORT by default (docs here), which is more easily configurable.