-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yaml
70 lines (62 loc) · 1.77 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
version: '3.8'
services:
grafana:
container_name: grafana
image: grafana/grafana:latest
volumes:
- ./grafana/grafana.ini:/etc/grafana/grafana.ini
- ./grafana/dashboards:/provisioning/dashboards
- ./grafana/provisioning:/etc/grafana/provisioning
ports:
- 3000:3000
depends_on:
- prometheus
- tempo
- loki
- pyroscope
- opentelemetry-collector
prometheus:
container_name: prometheus
image: prom/prometheus:latest
command:
- "--web.enable-remote-write-receiver"
- "--config.file=/etc/prometheus/prometheus.yml"
- "--storage.tsdb.path=/prometheus"
- "--web.console.libraries=/usr/share/prometheus/console_libraries"
- "--web.console.templates=/usr/share/prometheus/consoles"
tempo:
container_name: tempo
image: grafana/tempo:latest
command:
- "-config.file=/etc/tempo.yaml"
volumes:
- ./tempo/tempo.yaml:/etc/tempo.yaml
loki:
container_name: loki
image: grafana/loki:latest
volumes:
- ./loki/loki.yaml:/etc/loki/loki.yaml
#ports:
#- 3100:3100
command:
- "-config.file=/etc/loki/loki.yaml"
pyroscope:
container_name: pyroscope
image: pyroscope/pyroscope:latest
#ports:
# - 4040:4040
command:
- "server"
volumes:
- ./pyroscope/server.yaml:/etc/pyroscope/server.yaml
opentelemetry-collector:
container_name: opentelemetry-collector
image: otel/opentelemetry-collector-contrib:latest
volumes:
- ./opentelemetry-collector/otel-config.yaml:/etc/otel-config.yaml
command:
- "--config=/etc/otel-config.yaml"
depends_on:
- prometheus
- tempo
- loki