Skip to content

Instantly share code, notes, and snippets.

@natesubra
Last active July 30, 2023 12:14
Show Gist options
  • Select an option

  • Save natesubra/4edf2d1bb2f81b28d87ec611b4458461 to your computer and use it in GitHub Desktop.

Select an option

Save natesubra/4edf2d1bb2f81b28d87ec611b4458461 to your computer and use it in GitHub Desktop.
ivre docker quick run
# https://github.com/cea-sec/ivre/blob/master/doc/DOCKER.md
docker pull ivre/db
docker pull ivre/web
docker run -d --name ivredb --hostname ivredb \
--volume "`pwd`/var_lib_mongodb":/var/lib/mongodb \
--volume "`pwd`/var_log_mongodb":/var/log/mongodb \
-v /ivredbvol \
ivre/db
docker run -d --name ivreweb --hostname ivreweb \
-v /ivrewebvol \
--link ivredb:ivredb --publish 127.0.0.1:8080:80 ivre/web
# custom ivre config
#--volume "`pwd`/ivre.conf:/etc/ivre.conf"
#--volume "`pwd`/nginx-default-site:/etc/nginx/sites-available/default"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment