mirror of https://github.com/MISP/misp-docker
Updated
parent
dd1458707e
commit
7d97286914
22
README.md
22
README.md
|
@ -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