mirror of
https://github.com/debricked/dmarc-visualizer.git
synced 2026-02-17 07:03:57 +00:00
Updating to newer elasticsearch version Changing "Version" on top to 3.5 to ensure running under Ubuntu 18 Run Grafana as root to be able to chmod provision directory for dashboard (whoami still outputs grafana instead of root so I have no Idea why this works)
26 lines
588 B
YAML
26 lines
588 B
YAML
version: '3.5'
|
|
services:
|
|
parsedmarc:
|
|
build: ./parsedmarc/
|
|
volumes:
|
|
- ./files:/input:ro
|
|
- ./output_files:/output
|
|
command: parsedmarc -c /parsedmarc.ini /input/*
|
|
depends_on:
|
|
- elasticsearch
|
|
restart: on-failure
|
|
|
|
elasticsearch:
|
|
image: docker.elastic.co/elasticsearch/elasticsearch:7.9.1
|
|
environment:
|
|
- discovery.type=single-node
|
|
|
|
grafana:
|
|
build: ./grafana/
|
|
ports:
|
|
- 3000:3000
|
|
user: root
|
|
environment:
|
|
GF_INSTALL_PLUGINS: grafana-piechart-panel,grafana-worldmap-panel
|
|
GF_AUTH_ANONYMOUS_ENABLED: 'true'
|