You can easily deploy Camus on Heroku with just a few commands. The Camus repository contains the necessary configuration files to enable this, namely app.json, Procfile, and runtime.txt.

To get started, create a Heroku account and install the Heroku CLI tool. Clone the Camus repo if you haven’t already, login to Heroku, and create a new Heroku project:

$ git clone && cd camus
$ heroku login -i
$ heroku create

The heroku create command automatically configures a new git remote called heroku (which you can verify by running git remote -v). To deploy Camus to Heroku, simply push the master branch to the heroku remote:

$ git push heroku master

You should now be able to see Camus running in your browser:

$ heroku open


You can use the heroku config command to set environment variables that are used to configure Camus. For example, set the SECRET_KEY and specify a TURN server:

$ heroku config:set SECRET_KEY=aVerySecretKey
$ heroku config:set
$ heroku config:set TURN_PORT=3478
$ heroku config:set TURN_STATIC_AUTH_SECRET=mySuperSecretSecret

For more information, see Heroku’s configuration documentation.


  • You should not use horizontal scaling (i.e. runnning Camus across multiple dynos using the heroku ps:scale command). Due to the stateful nature of websockets and message queuing, Camus does not currently support running multiple instances across multiple dynos. If you need to scale (which is probably not necessary unless you have hundreds or thousands of simultaneous users), use vertical scaling with the heroku ps:resize command instead.

  • By default, no TURN server is configured when you deploy Camus on Heroku. If you want to minimize the risk of users experiencing WebRTC connection issues, you should configure a TURN server, such as Coturn.

DigitalOcean with Terraform

You can deploy Camus on a DigitalOcean droplet using Terraform Camus. See the documentation there for instructions.