Skip to content
ElJeffe edited this page Mar 1, 2020 · 10 revisions

Heroku

Work-In-Progress! Ephemeral Filesystem Issue

This deployment is through Heroku using free dyno and add-ons.

  1. Sign up for a free account on Heroku. Create a new App on Heroku via the Dashboard. Note: The app name will be used as the hostname in your URL
  2. Select the Resources tab and search the Add-Ons to add either Memcached Cloud or MemCachier. The environment variables are created automatically by Heroku.
  3. The Heroku filesystem is ephemeral. We need to save things to /files Not sure how to resolve this but might be able to use s3fs to mount AWS S3 to /files.
  4. Select the Settings tab and click Reveal Config Vars. Add a key for ORIGIN and the value is a websocket URL for the domain wss://nameofyourapp.herokuapp.com:443 Include port 443 as it will use TLS.
  5. Clone RootTheBox to your local system.
$ git clone https://github.com/moloch--/RootTheBox.git
$ cd RootTheBox
  1. Select the Deploy tab and click Container Registry and follow the steps for deploying a Docker-based app.
$ heroku login
$ heroku container:login
$ heroku container:push web
$ heroku container:release web

Log Check

$ heroku logs --tail

Clone this wiki locally