-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
45 lines (41 loc) · 1.11 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
version: '3.7'
services:
server:
build:
dockerfile: ./Dockerfile
ports:
- "8080:8080"
environment:
- GRPC_TRACE=http,call_error,connectivity_state
- GRPC_VERBOSITY=debug
- OTEL_EXPORTER_OTLP_TRACES_ENDPOINT=otel-collector:4317
networks:
- distributed-trace
depends_on:
- otel-collector
otel-collector:
image: otel/opentelemetry-collector
command: [ "--config=/etc/otel-collector-config.yaml" ]
volumes:
- ./otel-collector-config.yaml:/etc/otel-collector-config.yaml
ports:
- "4317" # OTLP gRPC receiver
networks:
- distributed-trace
depends_on:
- jaeger
jaeger:
image: jaegertracing/all-in-one:latest
ports:
- "16685"
- "16686:16686" # Jaeger UI
- "14250" # Used by Agent to send spans in model.proto format.
- "5778" # Used by Agent component to serve configs
- "4317" # Used by Collector component to accept gRPC traces
environment:
- COLLECTOR_OTLP_ENABLED=true
- LOG_LEVEL=debug
networks:
- distributed-trace
networks:
distributed-trace: