Dockerized self-initializing parsedmarc docker stack for lazy people
Find a file
2020-08-08 23:02:00 +01:00
.github/workflows Fixed path for parsedmarc-init 2020-08-08 22:06:39 +01:00
data Improved setup and README 2020-08-08 23:02:00 +01:00
.gitignore Improved setup and README 2020-08-08 23:02:00 +01:00
docker-compose.yml Improved setup and README 2020-08-08 23:02:00 +01:00
LICENSE Create LICENSE 2020-08-08 20:35:11 +01:00
README.md Improved setup and README 2020-08-08 23:02:00 +01:00

parsedmarc-dockerized

Note: The standalone parsedmarc docker image can also be used, if interested: hub.docker.com/r/patschi/parsedmarc.

Setup:

$ git clone https://github.com/patschi/parsedmarc-dockerized.git /opt/parsedmarc-dockerized/
$ cd /opt/parsedmarc-dockerized/ && cp data/conf/parsedmarc/config.sample.ini data/conf/parsedmarc/config.ini

# Create environment file for your geoipupdate API settings (fill in your data)
$ cat > geoipupdate.env <<EOF
GEOIPUPDATE_ACCOUNT_ID=YOUR_ACCOUNT_ID
GEOIPUPDATE_LICENSE_KEY=YOUR_LICENSE_KEY
EOF

$ nano data/conf/parsedmarc/config.ini # Edit parsedmarc config file (and change test to False when testing done!)

$ docker-compose up -d

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, Elasticsearch and Kibana, nginx, Docker and using MaxMind GeoIP.