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

@ -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.