Dokku uses Nginx for proxying in front of Docker containers. Currently the setup seems fixed to port 5000 which meant that it could not connect to meteord container which was fixed to port 80.
This patch exports PORT if that was already set while defaulting to 80 if it was not, so that Docker configuration can override the port.
(This was needed to get Rocket.Chat working in Dokku)
Dokku uses Nginx for proxying in front of Docker containers. Currently the setup seems fixed to port 5000 which meant that it could not connect to
meteord
container which was fixed to port 80.This patch exports
PORT
if that was already set while defaulting to80
if it was not, so that Docker configuration can override the port.(This was needed to get Rocket.Chat working in Dokku)