-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
44 lines (41 loc) · 897 Bytes
/
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
# ./docker-compose.yml
version: '3'
services:
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:6.3.2
environment:
- cluster.name=docker-cluster
- bootstrap.memory_lock=true
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
volumes:
- ${ELK_DATA}/elasticsearch:/usr/share/elasticsearch/data:rw
hostname: elasticsearch
ulimits:
memlock:
soft: -1
hard: -1
ports:
- "9200:9200"
networks:
- ELK
kibana:
image: docker.elastic.co/kibana/kibana:6.3.2
hostname: kibana
depends_on:
- elasticsearch
ports:
- "5601:5601"
networks:
- ELK
logstash:
image: docker.elastic.co/logstash/logstash:6.3.2
depends_on:
- elasticsearch
volumes:
- ${ELK_DATA}/logstash/csv:/shared:rw
hostname: logstash
networks:
- ELK
networks:
ELK:
driver: "bridge"