-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
64 lines (58 loc) · 1.52 KB
/
Copy pathdocker-compose.yml
File metadata and controls
64 lines (58 loc) · 1.52 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
version: "3.9"
services:
tempo:
image: grafana/tempo:2.4.1
command: ["-config.file=/etc/tempo.yaml"]
volumes:
- ./docker/tempo.yaml:/etc/tempo.yaml:ro
- tempo-data:/var/tempo
ports:
- "3200:3200"
otel-collector:
image: otel/opentelemetry-collector-contrib:0.103.0
command: ["--config=/etc/otel-collector.yaml"]
volumes:
- ./docker/otel-collector.yaml:/etc/otel-collector.yaml:ro
ports:
- "4317:4317"
- "4318:4318"
- "8889:8889"
depends_on:
- tempo
loki:
image: grafana/loki:2.9.2
command: ["-config.file=/etc/loki.yaml"]
volumes:
- ./docker/loki.yaml:/etc/loki.yaml:ro
- loki-data:/loki
ports:
- "3100:3100"
prometheus:
image: prom/prometheus:v2.49.1
command: ["--config.file=/etc/prometheus/prometheus.yml", "--web.enable-remote-write-receiver", "--web.listen-address=0.0.0.0:9090"]
volumes:
- ./docker/prometheus.yml:/etc/prometheus/prometheus.yml:ro
ports:
- "9090:9090"
depends_on:
- otel-collector
grafana:
image: grafana/grafana:latest
environment:
- GF_AUTH_ANONYMOUS_ENABLED=true
- GF_AUTH_ANONYMOUS_ORG_ROLE=Admin
volumes:
- ./docker/grafana/provisioning:/etc/grafana/provisioning:ro
- ./dashboards/grafana:/etc/grafana/dashboards:ro
- grafana-data:/var/lib/grafana
ports:
- "3000:3000"
depends_on:
- otel-collector
- prometheus
- tempo
- loki
volumes:
tempo-data:
loki-data:
grafana-data: