Skip to content

Commit

Permalink
Fixes to make it work
Browse files Browse the repository at this point in the history
  • Loading branch information
Keramblock committed Aug 22, 2022
1 parent 486f202 commit 718ff95
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 5 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/files/
/output_files/
/parsedmarc/GeoLite2-Country*
/elastic_data/
parsedmarc.ini
6 changes: 4 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand Down
2 changes: 1 addition & 1 deletion grafana/Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions parsedmarc/Dockerfile
Original file line number Diff line number Diff line change
@@ -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 /
Expand Down
File renamed without changes.

0 comments on commit 718ff95

Please sign in to comment.