-
Notifications
You must be signed in to change notification settings - Fork 9
/
docker-compose.yaml
54 lines (49 loc) · 1.22 KB
/
docker-compose.yaml
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
version: '2'
services:
generator:
image: vincentdesmet/log-generator:latest
command: java -jar target/log-generator-0.0.1-SNAPSHOT.jar -n 1 -r 100 -t 1
depends_on:
- fluentd
logging:
driver: "fluentd"
options:
fluentd-address: "localhost:24224"
tag: "docker.generator.{{.ID}}"
networks:
- back-tier
fluentd:
image: vincentdesmet/fluentd:latest
volumes:
- ./fluentd/fluent.conf:/fluentd/etc/fluent.conf
depends_on:
- es
environment:
- ES_HOST=es
- ES_PORT=9200
ports:
- "24224:24224"
networks:
- back-tier
es:
image: elasticsearch:2.3.5
networks:
- back-tier
volumes:
- esdata:/usr/share/elasticsearch/data
kibana:
image: vincentdesmet/kibana-sense:4.5.4
depends_on:
- es
networks:
- back-tier
- front-tier
environment:
- ELASTICSEARCH_URL=http://es:9200
ports:
- "80:5601"
volumes:
esdata:
networks:
back-tier:
front-tier: