forked from yetanotherco/aligned_layer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
telemetry-prod-docker-compose.yaml
53 lines (48 loc) · 1.25 KB
/
telemetry-prod-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
47
48
49
50
51
52
53
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
healthcheck:
test: ["CMD-SHELL", "nodetool status"]
interval: 30s
timeout: 10s
retries: 5
cassandra-schema:
image: jaegertracing/jaeger-cassandra-schema
depends_on:
cassandra:
condition: service_healthy
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:
condition: service_completed_successfully
volumes:
cassandra-data: