-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
59 lines (53 loc) · 1.14 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
version: '2'
services:
logspout:
image: muccg/logspout-logstash
environment:
- ROUTE_URIS=logstash://logstash:5140
volumes:
- /var/run/docker.sock:/var/run/docker.sock
links:
- logstash
depends_on:
- logstash
kibana:
image: kibana:5.1
ports:
- "5601:5601"
links:
- elasticsearch
elasticsearch:
image: elasticsearch:5.1-alpine
volumes:
- ./data/elasticsearch:/usr/share/elasticsearch/data
ports:
- "9200"
- "9300"
logstash:
image: logstash:5.1-alpine
command: logstash -f /config-dir/logstash.conf
volumes:
- ./logstash:/config-dir
links:
- elasticsearch
ports:
- "5140:5140"
- "5140:5140/udp"
- "514"
- "514/udp"
- "5959"
- "5959/udp"
depends_on:
- elasticsearch
# throw away nginx container for local testing
nginx:
build: nginx/
command: nginx
environment:
- WAIT_FOR_KIBANA=1
ports:
- "8443:443"
links:
- kibana
depends_on:
- kibana