Skip to content

Commit

Permalink
Merge pull request #38 from Keramblock/master
Browse files Browse the repository at this point in the history
Fixes to make it work
  • Loading branch information
sweoggy authored Nov 13, 2023
2 parents 454ee2c + 5fe0a2f commit 671b16a
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
4 changes: 2 additions & 2 deletions grafana/grafana-provisioning/datasources/all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ datasources:
database: '[dmarc_aggregate-]YYYY-MM-DD'
isDefault: true
jsonData:
esVersion: 70
esVersion: 7.17.5
timeField: 'date_range'
interval: 'Daily'
version: 1
Expand All @@ -22,7 +22,7 @@ datasources:
database: '[dmarc_forensic-]YYYY-MM-DD'
isDefault: false
jsonData:
esVersion: 70
esVersion: 7.17.5
timeField: 'arrival_date'
interval: 'Daily'
version: 1
Expand Down
2 changes: 1 addition & 1 deletion parsedmarc/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:alpine
FROM python:3.9-alpine3.16

RUN apk add --update --no-cache libxml2-dev libxslt-dev
RUN apk add --update --no-cache --virtual .build_deps build-base libffi-dev \
Expand Down
File renamed without changes.

0 comments on commit 671b16a

Please sign in to comment.