Dokku: Listen to multiple ports from an app

让人想犯罪 __ 提交于 2019-12-04 05:00:14

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.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!