-
Notifications
You must be signed in to change notification settings - Fork 4
/
docker-compose.yml
88 lines (81 loc) · 1.91 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
version: "2"
services:
elasticsearch:
image: wintercircle/elasticsearch:latest
labels:
role: admin
io.rancher.scheduler.affinity:host_label: role=admin
ports:
- "9200"
- "9300"
environment:
ES_JAVA_OPTS: "-Xmx256m -Xms256m"
volumes:
- es-data:/usr/share/elasticsearch/data
- es-config:/usr/share/elasticsearch/config
logstash:
image: wintercircle/logstash:latest
labels:
role: admin
io.rancher.scheduler.affinity:host_label: role=admin
ports:
- "5044"
environment:
LS_JAVA_OPTS: "-Xmx256m -Xms256m"
volumes:
- logstash-config:/opt/logstash/config
- logstash-pipeline:/opt/logstash/pipeline
depends_on:
- elasticsearch
kibana:
image: wintercircle/kibana:latest
labels:
role: admin
io.rancher.scheduler.affinity:host_label: role=admin
ports:
- "5601"
volumes:
- kibana-config:/usr/share/kibana/config
depends_on:
- elasticsearch
elastalert:
image: ivankrizsan/elastalert
labels:
role: admin
io.rancher.scheduler.affinity:host_label: role=admin
environment:
ELASTICSEARCH_HOST: "elasticsearch"
volumes:
- elastalert-rules:/opt/rules
- elastalert-config:/opt/config
depends_on:
- elasticsearch
- mail
mail:
image: catatnight/postfix
labels:
role: admin
io.rancher.scheduler.affinity:host_label: role=admin
environment:
maildomain: "your.domain.here"
smtp_user: "user:password"
volumes:
kibana-config:
driver: rancher-nfs
external: true
elastalert-rules:
driver: rancher-nfs
external: true
elastalert-config:
driver: rancher-nfs
external: true
es-config:
driver: rancher-nfs
external: true
es-data:
logstash-config:
driver: rancher-nfs
external: true
logstash-pipeline:
driver: rancher-nfs
external: true