-
Notifications
You must be signed in to change notification settings - Fork 365
/
Copy pathtelemetry-docker-compose.yaml
46 lines (41 loc) · 1.05 KB
/
telemetry-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
version: "3"
services:
otel-collector:
image: otel/opentelemetry-collector-contrib:0.107.0
container_name: otel-collector
command: ["--config=/etc/otel-collector.yaml"]
volumes:
- ./otel-collector.yaml:/etc/otel-collector.yaml
ports:
- "4317:4317"
cassandra:
image: cassandra:latest
container_name: cassandra
hostname: cassandra.local
ports:
- "9042:9042"
environment:
- CASSANDRA_USER=admin
- CASSANDRA_PASSWORD=admin
volumes:
- cassandra-data:/var/lib/cassandra
cassandra-schema:
image: jaegertracing/jaeger-cassandra-schema
depends_on:
- cassandra
jaeger:
image: jaegertracing/all-in-one:1.60
container_name: jaeger
hostname: jaeger.local
ports:
- "16686:16686"
command: ["--cassandra.keyspace=jaeger_v1_dc1"]
environment:
- SPAN_STORAGE_TYPE=cassandra
- CASSANDRA_SERVERS=cassandra.local:9042
- CASSANDRA_USER=admin
- CASSANDRA_PASSWORD=admin
depends_on:
- cassandra-schema
volumes:
cassandra-data: