MISP Docker (XME edition)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Risto Helinko d48d0b8c47 Add certs to .gitignore 2 years ago
proxy Update default.conf 2 years ago
web Update run.sh 2 years ago
.gitignore Add certs to .gitignore 2 years ago
.travis.yml added nginx build check and travis CI build status icon 4 years ago
README.md chg: [doc] .env update 3 years ago
docker-compose-nginx.yml Revert "Create the database" 2 years ago
docker-compose.yml MYSQL Host from Env 3 years ago
template.env MYSQL Host from Env 3 years ago


MISP Docker

The files in this repository are used to create a Docker container running a MISP ("Malware Information Sharing Platform") instance.

I rewrote the Docker file to split the components in multiple containers (which is more in the philosophy of Docker). Therefore there is no longer a Dockerfile in the root directory.

The MISP container needs at least a MySQL container to store the data. By default it listen to port 80. I highly recommend to serve it behind a NGinx or Apache reverse proxy.

The build is based on Ubuntu and will install all the required components. The following configuration steps are performed automatically:

  • Reconfiguration of the base URL in config.php
  • Generation of a new salt in config.php
  • Generation of a self-signed certificate
  • Optimization of the PHP environment (php.ini) to match the MISP recommended values
  • Creation of the MySQL database
  • Generation of the admin PGP key


  • add your ".crt" and ".key" files to the ./proxy/ssl folder If not implementing SSL (not recommended) then simply comment out the appropriate lines in the "./proxy/default.conf" file.
  • Update "server_name" in default.conf file (will implement ENVIRONMENT VARIABLE in the future)

Optional NGINX config

Included is an optional Docker Compose file 'docker-compose-nginx.yml' to spin up a reverse proxy to sit in front of MISP.

Building your image

Fetch files

$ git clone https://github.com/MISP/misp-docker
$ cd misp-docker
# Copy template.env to .env (on the root directory) and edit the environment variables at .env file
$ cp template.env .env
$ vi .env

Build the containers

$ docker-compose build
$ docker-compose -f docker-compose-nginx.yml build

Run containers

$ docker-compose up
$ docker-compose -f docker-compose-nginx.yml up