This repository has been archived by the owner on Mar 24, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
90 lines (81 loc) · 1.98 KB
/
docker-compose.yml
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
services:
highlights:
image: thatsnomoon/highlights:2
networks:
- net
secrets:
- highlights-config
environment:
HIGHLIGHTS_CONFIG: "/run/secrets/highlights-config"
HIGHLIGHTS_LOGGING.JAEGER: "jaeger-agent:6831"
volumes:
- "highlights-data:/opt/highlights/data"
depends_on:
jaeger-agent:
condition: service_started
restart: unless-stopped
jaeger-agent:
image: jaegertracing/jaeger-agent:1.34
networks:
- net
command: "--reporter.grpc.host-port=jaeger-collector:14250"
depends_on:
jaeger-collector:
condition: service_started
restart: unless-stopped
jaeger-collector:
image: jaegertracing/jaeger-collector:1.34
networks:
- net
environment:
SPAN_STORAGE_TYPE: "cassandra"
CASSANDRA_SERVERS: "cassandra"
CASSANDRA_KEYSPACE: "jaeger_v1_dc1"
depends_on:
cassandra-setup:
condition: service_completed_successfully
restart: unless-stopped
jaeger-query:
image: jaegertracing/jaeger-query:1.34
networks:
- net
ports:
- "16686:16686"
environment:
SPAN_STORAGE_TYPE: "cassandra"
CASSANDRA_SERVERS: "cassandra"
CASSANDRA_KEYSPACE: "jaeger_v1_dc1"
depends_on:
cassandra-setup:
condition: service_completed_successfully
restart: unless-stopped
cassandra-setup:
image: thatsnomoon/highlights-jaeger-cassandra-setup:1.0.0
networks:
- net
environment:
MODE: "prod"
DATACENTER: "dc1"
REPLICATION_FACTOR: 1
depends_on:
cassandra:
condition: service_healthy
cassandra:
image: cassandra:4.0
networks:
- net
volumes:
- "cassandra-data:/opt/cassandra/data"
healthcheck:
test: ["CMD", "cqlsh", "-e", "show version;"]
interval: 30s
timeout: 10s
restart: unless-stopped
secrets:
highlights-config:
file: "./config.toml"
networks:
net: {}
volumes:
highlights-data:
cassandra-data: