Xavier Mertens 2018-06-20 13:05:21 +02:00
parent dd1458707e
commit 7d97286914
1 changed files with 12 additions and 12 deletions

View File

@ -3,7 +3,7 @@ MISP Docker
The files in this repository are used to create a Docker container running a [MISP](http://www.misp-project.org) ("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).
I rewrote the Docker file to split the components in multiple containers (which is more in the philosophy of Docker).
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.
@ -15,22 +15,22 @@ The build is based on Ubuntu and will install all the required components. The f
* Creation of the MySQL database
* Generation of the admin PGP key
# Building the image
# Building your image
## Fetch files
```
# git clone https://github.com/xme/misp-docker
# cd misp-docker
# docker build -t misp .
docker build -t misp .
```
## Fix your environment
Edit the docker-compose.yml and change the following environment variables:
* MYSQL_ROOT_PASSWORD
* MYSQL_MISP_PASSWORD
* MISP_ADMIN_PASSPHRASE
* Changed the volumes to match your local filesystem
# Configuring MySQL container
## Build the containers
```
(in mysql console from database root user)
> USE mysql;
> UPDATE user SET host='%' WHERE host='localhost';
> FLUSH PRIVILEGES;
# docker-compose build
```
# Running the image
Use the docker-compose file provided as example.