Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set listen not only on localhost when used in docker
When puma was introduced in diaspora#8392 the default listen configuration was set to only localhost, which makes sense for most development setups, but when run within docker, it needs to listen on all IPs so the port can be forwarded to be accessable outside of docker. Because the new default makes sense without docker, I overwrite the option with a environment variable only in the docker-setup. This also ensures that it always contains the right value needed for the docker-setup to work, no matter what was configured outside of docker.
- Loading branch information