mirror of
https://github.com/debricked/dmarc-visualizer.git
synced 2026-02-17 07:03:57 +00:00
Fixes to make it work
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -1,3 +1,5 @@
|
||||
/files/
|
||||
/output_files/
|
||||
/parsedmarc/GeoLite2-Country*
|
||||
/elastic_data/
|
||||
parsedmarc.ini
|
||||
|
||||
@@ -5,15 +5,17 @@ services:
|
||||
volumes:
|
||||
- ./files:/input:ro
|
||||
- ./output_files:/output
|
||||
command: parsedmarc -c /parsedmarc.ini /input/*
|
||||
command: parsedmarc -c /parsedmarc.ini /input/* --debug
|
||||
depends_on:
|
||||
- elasticsearch
|
||||
restart: on-failure
|
||||
|
||||
elasticsearch:
|
||||
image: docker.elastic.co/elasticsearch/elasticsearch:7.9.1
|
||||
image: docker.elastic.co/elasticsearch/elasticsearch:7.17.5
|
||||
environment:
|
||||
- discovery.type=single-node
|
||||
volumes:
|
||||
- ./elastic_data:/usr/share/elasticsearch/data
|
||||
|
||||
grafana:
|
||||
build: ./grafana/
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
FROM grafana/grafana
|
||||
FROM grafana/grafana:8.5.4
|
||||
|
||||
ADD --chown=grafana:root https://raw.githubusercontent.com/domainaware/parsedmarc/master/grafana/Grafana-DMARC_Reports.json /var/lib/grafana/dashboards/
|
||||
RUN chmod 644 /etc/grafana/provisioning
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
FROM python:alpine
|
||||
FROM python:3.9-alpine3.16
|
||||
|
||||
RUN apk add build-base libxml2-dev libxslt-dev \
|
||||
RUN apk add build-base libxml2-dev libxslt-dev libffi-dev \
|
||||
&& pip install parsedmarc
|
||||
|
||||
COPY parsedmarc.ini /
|
||||
|
||||
Reference in New Issue
Block a user