-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathdocker-compose.yml
84 lines (84 loc) · 1.88 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
version: '2'
services:
elastic1:
extends:
file: docker-compose-elasticsearch.yml
service: elasticsearch
environment:
ES_NODENAME: elastic1
ports:
- "9200:9200"
- "9300:9300"
elastic2:
extends:
file: docker-compose-elasticsearch.yml
service: elasticsearch
environment:
ES_NODENAME: elastic2
ports:
- "9201:9200"
- "9301:9300"
depends_on:
- elastic1
elastic3:
extends:
file: docker-compose-elasticsearch.yml
service: elasticsearch
environment:
ES_NODENAME: elastic3
ports:
- "9202:9200"
- "9302:9300"
depends_on:
- elastic1
inquisitor:
image: spantree/elasticsearch-inquisitor
environment:
ELASTICSEARCH_URL: "http://elastic1:9200"
ports:
- "9400:80"
exercises:
image: nginx:1.11-alpine
volumes:
- "./exercises:/usr/share/nginx/html"
- "./exercises/nginx:/etc/nginx"
ports:
- "9500:80"
logstash:
image: logstash:2.4
volumes:
- "./logstash:/config-dir"
- "./data:/usr/local/share/data"
command: ["logstash", "-f", "/config-dir/logstash.conf"]
ports:
- "3333:3333"
- "5044:5044"
- "9600:9600"
depends_on:
- elastic1
- elastic2
- elastic3
kibana:
build: kibana
ports:
- "5601:5601"
environment:
ELASTICSEARCH_URL: "http://elastic1:9200"
volumes:
- "./kibana/config:/opt/kibana/config"
depends_on:
- elastic1
- elastic2
- elastic3
slides:
build: slides
ports:
- "9000:9000"
- "35729:35729" # to enable live reloading
environment:
ELASTICSEARCH_URL: http://localhost:9200
KIBANA_URL: http://localhost:5601
INQUISITOR_URL: http://localhost:9400
EXERCISES_URL: http://localhost:9500
volumes:
- ./slides/slides:/usr/src/slides/slides