forked from deviantony/docker-elk
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
40 lines (37 loc) · 837 Bytes
/
docker-compose.yml
File metadata and controls
40 lines (37 loc) · 837 Bytes
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
version: '3'
volumes:
elasticsearch_data:
services:
elasticsearch:
image: elasticsearch:5
command: "-E network.host=0.0.0.0 -E discovery.zen.minimum_master_nodes=1"
volumes:
- elasticsearch_data:/usr/share/elasticsearch/data
environment:
ES_JAVA_OPTS: "-Xms1g -Xmx1g -Des.path.conf=/etc/elasticsearch"
logstash:
image: logstash:5
command: -f /etc/logstash/conf.d/
volumes:
- ./logstash/config:/etc/logstash/conf.d
- ./logstash/templates:/templates
depends_on:
- elasticsearch
networks:
- outside
- default
kibana:
image: kibana:5
volumes:
- ./kibana/config/:/etc/kibana/
networks:
- outside
- default
depends_on:
- elasticsearch
networks:
default:
driver: overlay
outside:
external:
name: rp