Dokku: Listen to multiple ports from an app Dokku: Listen to multiple ports from an app nginx nginx

Dokku: Listen to multiple ports from an app


This can be hacked together by using https://github.com/statianzo/dokku-shoreman or https://github.com/statianzo/dokku-supervisord, but you need to manually make sure that there are no port collisions on the dokku host.

When https://github.com/progrium/dokku/issues/732 is resolved, you will be able to deploy the second app as a worker that will listen on a port assigned by docker.


I'm not sure if I've misunderstood the problem but finding out the endpoints of both apps might help? It's done like this:

dokku url [App #1]dokku url [App #2]

If you're running nginx, you might want to look at /opt/nginx/conf/nginx.conf.