syndesisio / syndesis.io

The syndesis.io Website
https://syndesis.io
10 stars 33 forks source link

chore: bind Hugo server to 0.0.0.0 #142

Closed zregvart closed 4 years ago

zregvart commented 4 years ago

By default Hugo would bind to localhost/127.0.0.1, when developing the website inside the container and exposing the 1313 port this becomes a problem as a port bound to localhost can't be exposed.

This adds the --bind 0.0.0.0 so that Hugo's server binds to all interfaces/ip addresses available. This allows the port to be exposed when running within a container.