-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathelk.yml
41 lines (37 loc) · 868 Bytes
/
elk.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
version: '3.0'
services:
elasticsearch:
image: elasticsearch:5.5.2
restart: always
ports:
- 9200:9200
- 9300:9300
networks:
- elk
logstash:
image: logstash:1.0
restart: always
ports:
- 4560:4560
depends_on:
- elasticsearch
volumes:
- ./config/logstash.conf:/etc/logstash/conf.d/logstash.conf
command: -f /etc/logstash/conf.d/
networks:
- elk
kibana:
image: kibana:latest
restart: always
ports:
- 8080:80
- 5601:5601
depends_on:
- elasticsearch
volumes:
- ./config/kibana.yml:/etc/kibana/kibana.yml
networks:
- elk
networks:
elk:
driver: bridge