-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
39 lines (37 loc) · 961 Bytes
/
docker-compose.yml
File metadata and controls
39 lines (37 loc) · 961 Bytes
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
version: '3.9'
services:
user:
container_name: user
build: ./user
ports:
- "5000:5000"
environment:
- OTEL_TRACES_EXPORTER=jaeger_thrift
- OTEL_METRICS_EXPORTER:none
- OTEL_SERVICE_NAME=user-service
- OTEL_EXPORTER_JAEGER_ENDPOINT=http://jaeger:14268/api/traces
todo:
container_name: todo
build: ./todo
ports:
- "5001:5000"
environment:
- OTEL_TRACES_EXPORTER=jaeger_thrift
- OTEL_METRICS_EXPORTER:none
- OTEL_SERVICE_NAME=todo-service
- OTEL_EXPORTER_JAEGER_ENDPOINT=http://jaeger:14268/api/traces
- OTEL_EXPORTER_OTLP_INSECURE=true
- PYTHONUNBUFFERED=1
- PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python
jaeger:
image: jaegertracing/all-in-one:latest
container_name: jaeger
ports:
- 5775:5775
- 6831:6831
- 6832:6832
- 5778:5778
- 16686:16686
- 14268:14268
- 14250:14250
- 9411:9411