-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathdocker-compose.yml
49 lines (45 loc) · 1.59 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
version: '3.4'
# https://www.jaegertracing.io/docs/1.55/deployment/
services:
jaeger:
image: jaegertracing/all-in-one:1.55
hostname: jaeger
user: root
ports:
- 6831:6831/udp # accept jaeger.thrift in compact Thrift protocol used by most current Jaeger clients
- 6832:6832/udp # accept jaeger.thrift in binary Thrift protocol used by Node.js Jaeger client (because thriftrw npm package does not support compact protocol)
- 5775:5775/udp # accept zipkin.thrift in compact Thrift protocol (deprecated; only used by very old Jaeger clients, circa 2016)
- 5778:5778 # serve configs, sampling strategies
- 4317:4317 # OpenTelemetry Protocol (OTLP) over gRPC
- 4318:4318 # OpenTelemetry Protocol (OTLP) over HTTP
- 16686:16686 # UI port
- 14269:14269 # collector admin port: health check at / and metrics at /metrics
- 9411:9411 # Zipkin compatible endpoint
environment:
- MEMORY_MAX_TRACES=100000
- SPAN_STORAGE_TYPE=badger
- BADGER_EPHEMERAL=false
- BADGER_DIRECTORY_VALUE=/badger/data
- BADGER_DIRECTORY_KEY=/badger/key
- COLLECTOR_ZIPKIN_HOST_PORT=:9411
- COLLECTOR_OTLP_ENABLED=true
volumes:
- jaeger_data:/badger
networks:
- backend_network
hotrod:
image: jaegertracing/example-hotrod:1.18
hostname: hotrod
ports:
- 8080:8080 # Navigate to this port to generate traces
- 8081:8081
- 8082:8082
- 8083:8083
environment:
- JAEGER_AGENT_HOST=jaeger
networks:
- backend_network
volumes:
jaeger_data:
networks:
backend_network: