-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
43 lines (42 loc) · 1.32 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
version: '3.7'
services:
order_api:
build:
context: src
dockerfile: Order.API/Dockerfile
ports:
- "5001:80"
environment:
- JAEGER_SERVICE_NAME=order_api
- COLLECTOR_ZIPKIN_HTTP_PORT=9411
- JAEGER_AGENT_HOST=jaeger
- JAEGER_AGENT_PORT=6831
- JAEGER_SAMPLER_TYPE=const
- JAEGER_SAMPLING_ENDPOINT=jaeger:5778
depends_on:
- jaeger
payment_api:
build:
context: src
dockerfile: Payment.API/Dockerfile
ports:
- "5002:80"
environment:
- JAEGER_SERVICE_NAME=payment_api
- COLLECTOR_ZIPKIN_HTTP_PORT=9411
- JAEGER_AGENT_HOST=jaeger
- JAEGER_AGENT_PORT=6831
- JAEGER_SAMPLER_TYPE=const
- JAEGER_SAMPLING_ENDPOINT=jaeger:5778
depends_on:
- jaeger
jaeger:
image: jaegertracing/all-in-one:latest
ports:
- "5775:5775/udp"
- "6831:6831/udp"
- "6832:6832/udp"
- "5778:5778"
- "16686:16686"
- "14268:14268"
- "9411:9411"