-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
2 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,4 @@ | ||
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). | ||
|
||
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 | ||
|
||
# Building the image | ||
|
||
``` | ||
# git clone https://github.com/xme/misp-docker | ||
# cd misp-docker | ||
# docker build -t misp . | ||
``` | ||
|
||
# Configuring MySQL container | ||
|
||
``` | ||
(in mysql console from database root user) | ||
> USE mysql; | ||
> UPDATE user SET host='%' WHERE host='localhost'; | ||
> FLUSH PRIVILEGES; | ||
``` | ||
|
||
# Running the image | ||
Use the docker-compose file provided as example. | ||
This project has been integrated into the official MISP repository: | ||
https://github.com/MISP/misp-docker |