-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
35 lines (32 loc) · 1.02 KB
/
docker-compose.yaml
File metadata and controls
35 lines (32 loc) · 1.02 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
services:
grafana:
extends:
file: .config/docker-compose-base.yaml
service: grafana
depends_on:
- tempo
tempo:
image: grafana/tempo:latest # Or a specific version e.g., grafana/tempo:2.4.1
container_name: tempo
command: ['-config.file=/etc/tempo/tempo-config.yaml']
volumes:
- ./tempo-config.yaml:/etc/tempo/tempo-config.yaml
ports:
# Port for Grafana to query Tempo and for Tempo's API/UI (if any)
- '3200:3200'
- '9095:9095'
otel-collector:
image: otel/opentelemetry-collector-contrib:latest # Use the contrib image for more exporters/receivers
container_name: otel-collector
command: ['--config=/etc/otelcol-contrib/config.yaml']
volumes:
- ./collector-config.yaml:/etc/otelcol-contrib/config.yaml # Mount your collector configuration
ports:
- '4317:4317' # OTLP receiver for traces and metrics from your applications
- '4318:4318'
- '55679:55679'
- '9464:9464'
depends_on:
- tempo
networks:
default: