-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
52 lines (49 loc) · 1.31 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
version: '3'
services:
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:7.6.2
container_name: elasticsearch
environment:
- xpack.security.enabled=false
- discovery.type=single-node
ports:
- 9200:9200
- 9300:9300
networks:
- docker_elk
kibana:
container_name: kibana
image: docker.elastic.co/kibana/kibana:7.6.2
ports:
- 5601:5601
networks:
- docker_elk
depends_on:
- elasticsearch
logstash:
container_name: logstash
image: docker.elastic.co/logstash/logstash:7.6.2
networks:
- docker_elk
ports:
- 8089:8080
volumes:
- ./config/:/usr/share/logstash/pipeline/
depends_on:
- elasticsearch
filebeat:
container_name: filebeat
image: docker.elastic.co/beats/filebeat:7.6.2
networks:
- docker_elk
ports:
- 5044:5044
volumes:
- ./config/filebeat.ymll:/usr/share/filebeat/filebeat.yml
- ./sample-log/logstash-sample.log:/usr/share/filebeat/logstash-tutorial4.log
depends_on:
- elasticsearch
- logstash
networks:
docker_elk:
driver: bridge