Update readme for new docker-compose

pull/1/head
Jason Kendall 2020-02-27 19:53:47 -05:00
parent 13df7b4fea
commit 3a55ba7847
1 changed files with 4 additions and 3 deletions

View File

@ -30,10 +30,9 @@ This is based on some of the work from the DSCO docker build, nearly all of the
### Development/Test ### Development/Test
- Grab the `docker-compose.yml` file and the `server-configs` directory - Grab the `docker-compose.yml` and `server-configs/email.php` files (Keep directory structure)
- \[Optional] Copy the "default" configs removing "default" and edit the files in `server-configs` - A dry run will create sane default configurations
- Note: A dry run without this step will try and make sane DEV configs
- `docker-compose up` - `docker-compose up`
@ -45,6 +44,8 @@ This is based on some of the work from the DSCO docker build, nearly all of the
### Using the image for development ### Using the image for development
Pull the entire repository, you can build the images using `docker-compose -f docker-compose.yml -f build-docker-compose.yml build`
Once you have the docker container up you can access the container by running `docker-compose exec misp /bin/bash`. Once you have the docker container up you can access the container by running `docker-compose exec misp /bin/bash`.
This will provide you with a root shell. You can use `apt update` and then install any tools you wish to use. This will provide you with a root shell. You can use `apt update` and then install any tools you wish to use.
Finally, copy any changes you make outside of the container for commiting to your branch. Finally, copy any changes you make outside of the container for commiting to your branch.