-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
92 lines (85 loc) · 2.35 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
version: '3.4'
services:
kafka:
container_name: elksj-kafka
image: elksj-kafka:latest
build: kafka/.
volumes:
- ./kafka/server.properties_template:/opt/kafka/config/server.properties_template
- ./kafka/entrypoint.sh:/entrypoint/entrypoint.sh
depends_on:
- "zookeeper"
restart: always
ports:
- "9092:9092"
nprobe:
container_name: elksj-nprobe
image: elksj-tnprobe:latest
build: nprobe/.
volumes:
- ./nprobe/nprobe.conf:/etc/nprobe/nprobe.conf
- ./nprobe/pcap_data:/data
depends_on:
- "kafka"
restart: always
ports:
- "2055:2055"
entrypoint: /bin/ping elksj-kafka
zookeeper:
container_name: elksj-zookeeper
image: elksj-zookeeper:latest
build: zookeeper/.
depends_on:
- "logstash"
restart: always
filebeat:
container_name: elksj-filebeat
image: elksj-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: elksj-logstash
image: elksj-logstash:7.1.1
build: logstash/.
volumes:
- ./logstash/pipelines:/usr/share/logstash/pipeline/
depends_on:
- "kibana"
restart: always
elasticsearch:
container_name: elksj-elasticsearch
image: elksj-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: elksj-kibana
image: elksj-kibana:7.1.1
build: kibana/.
restart: always
depends_on:
- "elasticsearch"
ports:
- "5601:5601"
jupyter:
container_name: elksj-jupyter
image: elksj-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:3917f51524d2:6f7e47e0400fba037c46e2a6a8801b62dc54d920' # password is 'net-research'