-
Notifications
You must be signed in to change notification settings - Fork 7
/
docker-compose.yml
77 lines (71 loc) · 1.9 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
version: '3.4'
services:
kafka:
container_name: relk-kafka
image: kafka:latest
build: kafka/.
volumes:
- ./kafka/server.properties:/opt/kafka/config
depends_on:
- "zookeeper"
restart: always
ports:
- "9092:9092"
zookeeper:
container_name: relk-zookeeper
image: zookeeper:latest
build: zookeeper/.
depends_on:
- "logstash"
restart: always
filebeat:
container_name: relk-filebeat
image: filebeat:7.2.0
build: filebeat/.
volumes:
- ./filebeat/input_files:/usr/share/filebeat/input_files
- ./filebeat/filebeat_data:/usr/share/filebeat/data
depends_on:
- "logstash"
restart: always
logstash:
container_name: relk-logstash
image: logstash:7.1.1
build: logstash/.
volumes:
- ./logstash/pipelines:/usr/share/logstash/pipeline/
depends_on:
- "kibana"
restart: always
elasticsearch:
container_name: relk-elasticsearch
image: elasticsearch:7.1.1
build: elasticsearch/.
environment:
- discovery.type=single-node
volumes:
- ./elasticsearch/esdata:/usr/share/elasticsearch/data
- ./elasticsearch/scripts:/usr/share/elasticsearch/scripts
- ./elasticsearch/output_templates:/usr/share/output_templates
entrypoint: /usr/share/elasticsearch/scripts/es_entrypoint.sh
restart: always
kibana:
container_name: relk-kibana
image: kibana:7.1.1
build: kibana/.
restart: always
depends_on:
- "elasticsearch"
ports:
- "5601:5601"
jupyter:
container_name: relk-jupyter
image: jupyter/all-spark-notebook
build: jupyter/.
depends_on:
- "elasticsearch"
ports:
- "8888:8888"
volumes:
- ./jupyter/notebooks:/home/jovyan/work
entrypoint: start.sh jupyter lab --NotebookApp.password='sha1:8adcae9f0773:5aedbc062fd9631599baf74c3e682cc909193f0e' # password is 'research'