-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
52 lines (47 loc) · 1.28 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:5.6.13
volumes:
- ./elasticsearch/config/elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml:ro
#- twitter_data:/usr/share/elasticsearch/data
ports:
- 9201:9201
- 9301:9301
environment:
- "ES_JAVA_OPTS:-Xms512m-Xmx512m"
networks:
- elk_twitter
# logstash:
# image: docker.elastic.co/logstash/logstash-oss:6.2.2
# env_file:
# - .env
# volumes:
# - ./logstash/config/logstash.yml:/usr/share/logstash/config/logstash.yml:ro
# - ./logstash/pipeline:/usr/share/logstash/pipeline:ro
# #- ./logstash/twitter_template.json:/usr/share/logstash/twitter_template.json:ro
# ports:
# - 5000:5000
# environment:
# LS_JAVA_OPTS: "-Xmx256m -Xms256m"
# networks:
# - elk_twitter
# depends_on:
# - elasticsearch
# command:
# - sudo bin/logstash-plugin install logstash-input-lumberjack
kibana:
image: docker.elastic.co/kibana/kibana:5.6.13
volumes:
- ./kibana/config/:/usr/share/kibana/config:ro
ports:
- 5601:5601
networks:
- elk_twitter
depends_on:
- elasticsearch
volumes:
twitter_data:
driver: local
networks:
elk_twitter: