forked from debricked/dmarc-visualizer
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
69 lines (60 loc) · 1.35 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
version: '3.5'
services:
parsedmarc:
build: ./parsedmarc/
container_name: parsedmarc
volumes:
- ./files:/input:ro
- ./output_files:/output
command: parsedmarc -c /parsedmarc.ini /input/* --debug
depends_on:
- elasticsearch
restart: always
logging:
options:
max-size: 10m
max-file: "5"
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:7.17.5
container_name: parsedmarc-elasticsearch
environment:
- discovery.type=single-node
- ES_JAVA_OPTS=-Xms750m -Xmx750m
volumes:
- esdata:/usr/share/elasticsearch/data
ports:
- 9200:9200
restart: always
logging:
options:
max-size: 10m
max-file: "5"
grafana:
build: ./grafana/
container_name: parsedmarc_grafana
logging:
options:
max-size: 10m
max-file: "5"
ports:
- 3000:3000
restart: always
user: root
environment:
GF_INSTALL_PLUGINS: grafana-piechart-panel,grafana-worldmap-panel
GF_AUTH_ANONYMOUS_ENABLED: 'false'
volumes:
- grafana-storage:/var/lib/grafana
volumes:
esdata:
driver: local
driver_opts:
type: none
o: bind
device: ./esdata
grafana-storage:
driver: local
driver_opts:
type: none
o: bind
device: ./grafana-storage