-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
100 lines (98 loc) · 3.13 KB
/
docker-compose.yml
File metadata and controls
100 lines (98 loc) · 3.13 KB
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
93
94
95
96
97
98
99
100
version: '3'
services:
telemetry:
build:
context: .
links:
# Link to influx so we can save to influx
- influxdb
- jaeger
volumes:
# Mount for csvs and blog files
- ~/csvs/:/csvs/ # CSVs saved to ~/csvs on host
- ~/blogs/:/blogs/ # Blogs saved to ~/blogs on host
ports:
# GRPC service on port 9090
- "9090:9090"
# UDP packets on port 33333 from car
- "33333:33333/udp"
depends_on:
- influxdb
- jaeger
# ============================== influx ==============================
chronograf:
# Full tag list: https://hub.docker.com/r/library/chronograf/tags/
image: quay.io/influxdb/chronograf:1.4.1.3
volumes:
# Mount for chronograf database
- ./sandbox/chronograf/data/:/var/lib/chronograf/
links:
# Chronograf requires network access to InfluxDB and Kapacitor
- influxdb
- kapacitor
ports:
# The WebUI for Chronograf is served on port 8888
- "8888:8888"
depends_on:
- kapacitor
- influxdb
- telegraf
telegraf:
# Full tag list: https://hub.docker.com/r/library/telegraf/tags/
image: telegraf:1.5.2
environment:
HOSTNAME: "telegraf-getting-started"
# Telegraf requires network access to InfluxDB
links:
- influxdb
volumes:
# Mount for telegraf configuration
- ./sandbox/telegraf/:/etc/telegraf/
# Mount for Docker API access
- /var/run/docker.sock:/var/run/docker.sock
depends_on:
- influxdb
influxdb:
# Full tag list: https://hub.docker.com/r/library/influxdb/tags/
image: influxdb:1.4.3
volumes:
# Mount for influxdb data directory
- ./sandbox/influxdb/data:/var/lib/influxdb
# Mount for influxdb configuration
- ./sandbox/influxdb/config/:/etc/influxdb/
ports:
# The API for InfluxDB is served on port 8086
- "8086:8086"
kapacitor:
# Full tag list: https://hub.docker.com/r/library/kapacitor/tags/
image: kapacitor:1.4.0
volumes:
# Mount for kapacitor data directory
- ./sandbox/kapacitor/data/:/var/lib/kapacitor
# Mount for kapacitor configuration
- ./sandbox/kapacitor/config/:/etc/kapacitor/
# Kapacitor requires network access to Influxdb
links:
- influxdb
ports:
# The API for Kapacitor is served on port 9092
- "9092:9092"
documentation:
build:
context: ./sandbox/documentation
ports:
- "3010:3000"
# ========================== jaegertracing ==========================
# Docs here: http://jaeger.readthedocs.io/en/latest/getting_started/
jaeger:
image: jaegertracing/all-in-one:latest
environment:
- COLLECTOR_ZIPKIN_HTTP_PORT=9411
ports:
- "5775:5775/udp" # agent - UDP - Zipkin Thrift
- "6831:6831/udp" # agent - UDP Jaeger compact thrift
- "6832:6832/udp" # agent - UDP Jaeger binary thrift
- "5778:5778" # agent - HTTP - serve configs
- "16686:16686" # query - HTTP - serve frontend
- "14268:14268" # collector - HTTP - accept jaeger.thrift from clients
- "9411:9411" # collector - HTTP - Zipkin endpoint