-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
55 lines (55 loc) · 1.44 KB
/
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
54
55
version: "3.4"
services:
random-gateway:
container_name: random-gateway
build: java-src/random-gateway
environment:
- "OTEL_SERVICE_NAME=random-gateway"
- "OTEL_TRACES_EXPORTER=jaeger"
- "OTEL_EXPORTER_JAEGER_ENDPOINT=http://jaeger:14250"
- "OTEL_METRICS_EXPORTER=prometheus"
- "OTEL_EXPORTER_PROMETHEUS_PORT=9000"
ports:
- "8080:8080"
- "9000:9000"
networks:
- tracing
random-letters:
container_name: random-letters
build: java-src/random-letters
environment:
- "OTEL_SERVICE_NAME=random-letters"
- "OTEL_TRACES_EXPORTER=jaeger"
- "OTEL_EXPORTER_JAEGER_ENDPOINT=http://jaeger:14250"
- "OTEL_METRICS_EXPORTER=prometheus"
- "OTEL_EXPORTER_PROMETHEUS_PORT=9001"
ports:
- "8081:8081"
- "9001:9001"
networks:
- tracing
random-numbers:
container_name: random-numbers
build: java-src/random-numbers
environment:
- "OTEL_SERVICE_NAME=random-numbers"
- "OTEL_TRACES_EXPORTER=jaeger"
- "OTEL_EXPORTER_JAEGER_ENDPOINT=http://jaeger:14250"
- "OTEL_METRICS_EXPORTER=prometheus"
- "OTEL_EXPORTER_PROMETHEUS_PORT=9002"
ports:
- "8082:8082"
- "9002:9002"
networks:
- tracing
jaeger:
container_name: jaeger
image: jaegertracing/all-in-one:1.37
ports:
- "14250:14250"
- "16686:16686"
networks:
- tracing
networks:
tracing:
name: tracing