forked from deviantony/docker-elk
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.yml
55 lines (51 loc) · 1.25 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
version: '2'
networks:
belk:
driver: bridge
services:
filebeat:
build: application/filebeat/
command: filebeat -e -strict.perms=false
volumes:
- ./configuration/filebeat/filebeat.yml:/usr/share/filebeat/filebeat.yml:ro
- ./ssl_tool:/etc/ssl:ro
networks:
- belk
depends_on:
- logstash
logstash:
build: application/logstash/
volumes:
- ./configuration/logstash/logstash.yml:/usr/share/logstash/config/logstash.yml
- ./configuration/logstash/pipeline:/usr/share/logstash/pipeline
- ./ssl_tool:/etc/ssl:ro
ports:
- "5000:5000"
- "5044:5044"
environment:
LS_JAVA_OPTS: "-Xmx256m -Xms256m"
networks:
- belk
depends_on:
- elasticsearch
elasticsearch:
build: application/elasticsearch/
volumes:
- ./configuration/elasticsearch/elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml
ports:
- "9200:9200"
- "9300:9300"
environment:
ES_JAVA_OPTS: "-Xmx256m -Xms256m"
networks:
- belk
kibana:
build: application/kibana/
volumes:
- ./configuration/kibana/:/usr/share/kibana/config
ports:
- "5601:5601"
networks:
- belk
depends_on:
- elasticsearch