forked from pmorelli92/open-telemetry-go
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
57 lines (57 loc) · 1.17 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
56
57
version: "3.9"
services:
jaeger:
image: "jaegertracing/all-in-one:latest"
ports:
- "16686:16686"
- "6831:6831"
rabbitmq:
image: "rabbitmq:3-management"
ports:
- "15672:15672"
- "5672:5672"
checkout:
build:
context: checkout
restart: on-failure
ports:
- "8080:8080"
environment:
- JAEGER_ADDRESS=jaeger
- JAEGER_PORT=6831
- GRPC_ADDRESS=checkout:8080
- RABBITMQ_USER=guest
- RABBITMQ_PASS=guest
- RABBITMQ_HOST=rabbitmq
- RABBITMQ_PORT=5672
depends_on:
- jaeger
- rabbitmq
gateway:
build:
context: gateway
restart: on-failure
ports:
- "8081:8081"
environment:
- JAEGER_ADDRESS=jaeger
- JAEGER_PORT=6831
- CHECKOUT_SERVICE_ADDRESS=checkout:8080
- HTTP_ADDRESS=:8081
depends_on:
- jaeger
- checkout
stock:
build:
context: stock
restart: on-failure
environment:
- JAEGER_ADDRESS=jaeger
- JAEGER_PORT=6831
- RABBITMQ_USER=guest
- RABBITMQ_PASS=guest
- RABBITMQ_HOST=rabbitmq
- RABBITMQ_PORT=5672
depends_on:
- jaeger
- rabbitmq