OWASP / Maturity-Models

Node application to help managing Maturity Models like the ones created by BSIMM and OpenSAMM
Apache License 2.0
187 stars 51 forks source link

Document how to use docker image #197

Closed DinisCruz closed 7 years ago

DinisCruz commented 7 years ago

Here is how to run the Maturity Models project from docker using DigitalOcean

1) In DigitalOcean UI click on 'Create Droplet'

image

2) click on 'One-click apps' and chose Docker

image

3) chose a size (since the Maturity Models app is quite light weight, even the 5 USD month will work, I usually chose between the 20 to 40 USD per month, depending on how long the image will last)

image

4) pick a location close to you (in my case I chose London)

image

5) create or select an SSH key (so that you can ssh into the box)

image

6) set a hostname and click on create

image

7) It should take about 30 secs for it to be ready

image

image

8) in the image page, copy it's IP address (in this case 46.101.8.29)

image

9) in an bash shell, ssh into it using ssh root@46.101.8.29

image

10) confirm that we have docker running

image

11) run docker run -it -p 80:3000 diniscruz/maturity-models to pull and start the Maturity Models app

image

after all images have been downloaded it should look like this

image

and that's it

12) open http://46.101.8.29/ in browser and you should see the latest version of the Maturity Models project

image

image

image

13) Finally when you are done with that image go to the digital Ocean ui and click on destroy

image

Note: if don't want to use the DigitalOcean UI, check out this cli I published a while back https://github.com/o2platform/digitalocean-cli

DinisCruz commented 7 years ago

Added as wiki page to https://github.com/OWASP/Maturity-Models/wiki/Run-the-Maturity-Models-from-Docker