-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
67 lines (61 loc) · 1.7 KB
/
docker-compose.yml
File metadata and controls
67 lines (61 loc) · 1.7 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
services:
otel-collector:
image: otel/opentelemetry-collector-contrib:0.86.0
command: ["--config=/etc/otel-collector.yaml"]
environment:
- BASIC_AUTH_USERNAME=${BASIC_AUTH_USERNAME}
- BASIC_AUTH_PASSWORD=${BASIC_AUTH_PASSWORD}
ports:
- "4317:4317"
restart: unless-stopped
volumes:
- ./otel-collector.yaml:/etc/otel-collector.yaml
tempo:
image: grafana/tempo:latest
command: ["-config.file=/etc/tempo.yaml"]
restart: unless-stopped
volumes:
- ./tempo.yaml:/etc/tempo.yaml
- tempo-data:/var/tempo
depends_on:
- otel-collector
prometheus:
image: prom/prometheus:latest
command:
- --config.file=/etc/prometheus.yaml
- --web.enable-remote-write-receiver
- --enable-feature=exemplar-storage
- --storage.tsdb.retention.time=168h
restart: unless-stopped
volumes:
- ./prometheus.yaml:/etc/prometheus.yaml
- prometheus-data:/prometheus
loki:
image: grafana/loki:3.0.0
command: -config.file=/etc/loki/config.yml
ports:
- "3100:3100"
restart: unless-stopped
volumes:
- ./loki:/etc/loki
- loki-data:/loki
grafana:
image: grafana/grafana:11.0.0
environment:
- GF_AUTH_ANONYMOUS_ENABLED=true
- GF_AUTH_ANONYMOUS_ORG_ROLE=Admin
- GF_AUTH_DISABLE_LOGIN_FORM=true
- GF_FEATURE_TOGGLES_ENABLE=traceqlEditor
- GF_UNIFIED_ALERTING_ENABLED=true
- SLACK_WEBHOOK_URL=${SLACK_WEBHOOK_URL}
ports:
- "3000:3000"
restart: unless-stopped
volumes:
- ./grafana/provisioning:/etc/grafana/provisioning
- grafana-data:/var/lib/grafana
volumes:
tempo-data:
loki-data:
prometheus-data:
grafana-data: