-
Notifications
You must be signed in to change notification settings - Fork 303
Cloud Deployment
ElJeffe edited this page Mar 1, 2020
·
10 revisions
Work-In-Progress! Ephemeral Filesystem Issue
This deployment is through Heroku using free dyno and add-ons.
- 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
- Select the Resources tab and search the Add-Ons to add either
Memcached Cloud
orMemCachier
. The environment variables are created automatically by Heroku. - 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
. - Select the Settings tab and click
Reveal Config Vars
. Add a key forORIGIN
and the value is a websocket URL for the domainwss://nameofyourapp.herokuapp.com:443
Include port 443 as it will use TLS. - Clone RootTheBox to your local system.
$ git clone https://github.com/moloch--/RootTheBox.git
$ cd RootTheBox
- 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