mirror of https://github.com/MISP/misp-docker
More readme tweaks
parent
486664c308
commit
022bb19320
59
README.md
59
README.md
|
@ -1,4 +1,4 @@
|
||||||
# docker-misp
|
# CoolAcid's MISP Docker images
|
||||||
|
|
||||||
[![Build Status](https://travis-ci.org/coolacid/docker-misp.svg?branch=master)](https://travis-ci.org/coolacid/docker-misp)
|
[![Build Status](https://travis-ci.org/coolacid/docker-misp.svg?branch=master)](https://travis-ci.org/coolacid/docker-misp)
|
||||||
|
|
||||||
|
@ -14,26 +14,51 @@ This is based on some of the work from the DSCO docker build, nearly all of the
|
||||||
- Images directly from docker hub, no build required
|
- Images directly from docker hub, no build required
|
||||||
- Slimmed down images by using build stages and slim parent image, removes unnecessary files from images
|
- Slimmed down images by using build stages and slim parent image, removes unnecessary files from images
|
||||||
|
|
||||||
|
# Docker Tags
|
||||||
|
|
||||||
Getting Started:
|
[Docker hub](https://hub.docker.com/r/coolacid/docker-misp) builds the images automatically based on git tags. I try and tag using the following details
|
||||||
|
|
||||||
|
***v[MISP Version][Our build version]***
|
||||||
|
|
||||||
|
- MISP version is the MISP tag we're building
|
||||||
|
- Our build version is the iteration for our changes with the same MISP version
|
||||||
|
|
||||||
|
# Getting Started
|
||||||
|
|
||||||
|
## Development/Test
|
||||||
|
|
||||||
|
- Pull the repository
|
||||||
- Copy the "default" configs removing "default" and edit the files in `server-configs`
|
- Copy the "default" configs removing "default" and edit the files in `server-configs`
|
||||||
- Note: A dry run without this step will try and make a sane DEV build for docker-compose
|
-- Note: A dry run without this step will try and make a sane DEV build for docker-compose
|
||||||
- Run `generate.sh` in `./ssl` to generate some fake certs
|
- Run `generate.sh` in `./ssl` to generate some fake certs
|
||||||
- `docker-compose up --build`
|
- `docker-compose up --build`
|
||||||
- Login with
|
- Login with
|
||||||
- User: admin@admin.test
|
-- User: admin@admin.test
|
||||||
- Password: admin
|
-- Password: admin
|
||||||
|
|
||||||
Server image file sizes:
|
## Production
|
||||||
- Core server
|
- Use docker-compose, or some other config management tool
|
||||||
- Original Image: 3.17GB
|
- Directory volume mount SSL Certs /etc/apache2/ssl/
|
||||||
- First attempt: 2.24GB
|
-- DH Parameters: dhparams.pem
|
||||||
- Remove chown: 1.56GB
|
-- Certificate File: cert.pem
|
||||||
- PreBuild python modules, and only pull submodules we need: 800MB
|
-- Certificate Key File: key.pem
|
||||||
- PreBuild PHP modules: 664MB
|
-- Certificate Chain File: chain.pem
|
||||||
- Saved: 2.5GB
|
- Directory volume mount and create configs: /var/www/MISP/app/Config/
|
||||||
|
- Additional directory volume mounts:
|
||||||
|
-- /var/www/MISP/app/files
|
||||||
|
-- /var/www/MISP/.gnupg
|
||||||
|
-- /var/www/MISP/.smime
|
||||||
|
|
||||||
- Modules:
|
# Image file sizes
|
||||||
- Original: 1.36GB
|
|
||||||
- Pre-build modules: 750MB
|
- Core server(Saved: 2.5GB)
|
||||||
- Saved: 640MB
|
-- Original Image: 3.17GB
|
||||||
|
-- First attempt: 2.24GB
|
||||||
|
-- Remove chown: 1.56GB
|
||||||
|
-- PreBuild python modules, and only pull submodules we need: 800MB
|
||||||
|
-- PreBuild PHP modules: 664MB
|
||||||
|
|
||||||
|
|
||||||
|
- Modules (Saved: 640MB)
|
||||||
|
-- Original: 1.36GB
|
||||||
|
-- Pre-build modules: 750MB
|
||||||
|
|
Loading…
Reference in New Issue