ZeroMQ on Heroku

北慕城南 提交于 2019-12-05 23:00:31

You can use Heroku Vulcan to build and run it yourself. This is what I do whenever I run into something that Heroku doesn't support OOTB. And, "why doesn't it exist"? Because you haven't built it yet! ;-) Good luck.

You can use the official Heroku APT buildpack to install zmq to your Heroku app.

Steps:

1) Add https://github.com/heroku/heroku-buildpack-apt as a buildpack. Make sure it is added above/before build packs such as heroku/nodejs so dependencies can be met.

2) Add Aptfile file into the root of your repo with this content:

libzmq3-dbg
libzmq3-dev
libzmq3

3) Deploy

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