-
Notifications
You must be signed in to change notification settings - Fork 8
/
docker-compose.yml
59 lines (53 loc) · 983 Bytes
/
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
broker01:
image: redis
expose:
- "6379:6379"
es01:
image: elasticsearch
expose:
- "9300"
ports:
- "9200:9200"
volumes:
- ./elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml
- ./es01data:/usr/share/elasticsearch/data
shipper:
image: logstash
ports:
- "10514:10514"
- "11514:11514"
- "12514:12514"
- "13514:13514"
- "14514:14514"
- "1514:1514"
volumes:
- ./shipper.conf:/shipper.conf
- ./logstash_patterns:/logstash_patterns
links:
- broker01
command: logstash -f /shipper.conf
indexer:
image: logstash
volumes:
- ./indexer.conf:/indexer.conf
links:
- broker01
- es01
command: logstash -f /indexer.conf
kibana:
image: kibana
volumes:
- ./kibana.yml:/opt/kibana/config/kibana.yml
expose:
- 5601
links:
- es01
proxy:
image: nginx
volumes:
- ./nginx/conf:/etc/nginx
- ./nginx/logs:/logs
ports:
- 8080:8080
links:
- kibana