mirror of https://github.com/MISP/misp-docker
Updated
parent
dd1458707e
commit
7d97286914
24
README.md
24
README.md
|
@ -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.
|
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.
|
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
|
* Creation of the MySQL database
|
||||||
* Generation of the admin PGP key
|
* Generation of the admin PGP key
|
||||||
|
|
||||||
# Building the image
|
# Building your image
|
||||||
|
|
||||||
|
## Fetch files
|
||||||
```
|
```
|
||||||
# git clone https://github.com/xme/misp-docker
|
# git clone https://github.com/xme/misp-docker
|
||||||
# cd 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)
|
# docker-compose build
|
||||||
> USE mysql;
|
|
||||||
> UPDATE user SET host='%' WHERE host='localhost';
|
|
||||||
> FLUSH PRIVILEGES;
|
|
||||||
```
|
```
|
||||||
|
|
||||||
# Running the image
|
|
||||||
Use the docker-compose file provided as example.
|
|
||||||
|
|
Loading…
Reference in New Issue