Updated README

This commit is contained in:
Patrik Kernstock 2020-08-08 22:24:53 +01:00
parent 02e2809820
commit c7fd05d4f8

View file

@ -1,14 +1,24 @@
# parsedmarc-dockerized
**NOT FOR PRODUCTIVE USE**
To setup:
Note: The standalone `parsedmarc` docker image can also be used, if interested: [hub.docker.com/r/patschi/parsedmarc](https://hub.docker.com/r/patschi/parsedmarc).
## Setup:
```
$ cd /opt/
$ git clone https://github.com/patschi/parsedmarc-dockerzied.git
# Edit docker-compose.yml and change environment variables below for geoipupdate from maxmind.
# Edit data/conf/parsedmarc/config.ini for parsedmarc itself (and change test to False when tested!)
$ docker-compose pull
$ git clone https://github.com/patschi/parsedmarc-dockerized.git
$ cd parsedmarc-dockerized/
$ nano docker-compose.yml # Edit docker-compose.yml and change environment variables below for geoipupdate from maxmind.
$ nano data/conf/parsedmarc/config.ini # Edit parsedmarc config file (and change test to False when testing done!)
$ docker-compose up -d
```
Then the whole stack is being built, created, started and the corresponding dashboard automatically imported into Kibana. After a while you can access the Kibana dashboard with parsed information by [parsedmarc](https://github.com/domainaware/checkdmarc) under the reverse proxy with an automatically self-signed certificate at `https://IP:9999`.
### What's happening then?
1. First, the whole stack is being created and started.
2. During the startup of the "init" container, all required steps are being taken care of - like generating a self-signed certificate for the webserver.
3. Once kibana container is started up, the corresponding parsedmarc dashboard is automatically imported into Kibana.
4. After a while you can access the Kibana dashboard under the shipped reverse proxy with at `https://IP:9999`.
## Credits
Built on top of the awesome [parsedmarc](https://github.com/domainaware/checkdmarc), [Elasticsearch and Kibana](https://www.elastic.co/), [nginx](https://nginx.org), [Docker](https://docker.com) and using [MaxMind GeoIP](https://dev.maxmind.com/geoip/geoip2/geolite2/).