A (nearly) production ready Dockered MISP
Use the offical one https://github.com/MISP/misp-docker
A (nearly) production ready Dockered MISP
This is based on some of the work from the DSCO docker build, nearly all of the details have been rewritten.
Docker hub builds the images automatically based on git tags. I try and tag using the following details
v[MISP Version][Our build version]
Grab the docker-compose.yml
and server-configs/email.php
files (Keep directory structure)
A dry run will create sane default configurations
docker-compose up
Login to https://localhost
[email protected]
admin
Profit
Pull the entire repository, you can build the images using docker-compose -f docker-compose.yml -f build-docker-compose.yml build
Once you have the docker container up you can access the container by running docker-compose exec misp /bin/bash
.
This will provide you with a root shell. You can use apt update
and then install any tools you wish to use.
Finally, copy any changes you make outside of the container for commiting to your branch.
git diff -- [dir with changes]
could be used to reduce the number of changes in a patch file, however, becareful when using the git diff
command.
Updating the images should be as simple as docker-compose pull
which, unless changed in the docker-compose.yml
file will pull the latest built images.
It is recommended to specify which build you want to be running, and modify that version number when you would like to upgrade
Use docker-compose, or some other config management tool
Directory volume mount SSL Certs ./ssl
: /etc/ssl/certs
cert.pem
key.pem
ca.pem
Directory volume mount and create configs: /var/www/MISP/app/Config/
Additional directory volume mounts:
/var/www/MISP/app/files
/var/www/MISP/.gnupg
/var/www/MISP/.smime
If you are interested in building the project from scratch - git clone
or download the entire repo and run docker-compose -f build-docker-compose.yml build
Core server(Saved: 2.5GB)
Modules (Saved: 640MB)