Dockerized self-initializing parsedmarc docker stack for lazy people
|
||
---|---|---|
data | ||
.drone.yml | ||
.gitignore | ||
compose.yml | ||
LICENSE | ||
README.md |
parsedmarc-dockerized
Note: The standalone parsedmarc
docker image on DockerHub @ sunred/parsedmarc can also be used, if interested.
Setup:
- Get basics together:
git clone https://git.snrd.de/sunred/parsedmarc-dockerized.git /opt/parsedmarc-dockerized/
cd /opt/parsedmarc-dockerized/ && cp data/conf/parsedmarc/config.sample.ini data/conf/parsedmarc/config.ini
- Next we change the
parsedmarc
config (see docs. You can setTest
toTrue
for testing purposes.)
nano data/conf/parsedmarc/config.ini
-
To use the geoip updater for automatic geo location resolution you have to create an account on the MaxMind website and add your license key you can retrieve from your account page to
data/conf/geoipupdate.env
. More information in the documentation. -
Finally, we start up the stack and wait:
docker-compose up -d
What's happening then?
- First, containers of the stack are created and started. This might take a while, as several containers have dependencies on others being in a healthy state (meaning that its service must be fully started).
- During the startup of the
parsedmarc-init
container, all required steps and preparations are being taken care of - like generating a self-signed certificate for the includednginx
webserver. - Once the Kibana container - where you can view the dashboards - is started up, the corresponding parsedmarc dashboards are automatically imported into Kibana by the
parsedmarc-init
container. - After a while, when everything is up and running, you can then access Kibana and its dashboards at
localhost:5601
that you can reverse proxy on your host system.
Credits
Built with awesome parsedmarc, Elasticsearch and Kibana, Docker and MaxMind GeoIP.