-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
40 lines (36 loc) · 891 Bytes
/
docker-compose.yaml
File metadata and controls
40 lines (36 loc) · 891 Bytes
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
version: "3.8"
services:
mustermann:
build:
context: .
dockerfile: Dockerfile
command:
[
"--log",
"otlp",
"--otlp-endpoint",
"http://opentelemetry-collector:4317",
]
opentelemetry-collector:
image: otel/opentelemetry-collector:latest
# command: ["--config", "/otel-config.yaml"]
volumes:
- "./otel-config.yaml:/etc/otelcol-contrib/config.yaml"
ports:
- "4317:4317" # OTLP gRPC receiver
- "4318:4318" # OTLP HTTP receiver
- "8889:8889" # Prometheus metrics endpoint
prometheus:
image: prom/prometheus:latest
volumes:
- ./prometheus.yaml:/etc/prometheus/prometheus.yaml:ro
ports:
- "9090:9090"
jaeger:
image: jaegertracing/jaeger:2.3.0
ports:
- "16686:16686"
- "4317:4317"
- "4318:4318"
- "5778:5778"
- "9411:9411"