forked from GoogleCloudPlatform/microservices-demo
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
88 lines (78 loc) · 2.69 KB
/
docker-compose.yaml
File metadata and controls
88 lines (78 loc) · 2.69 KB
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
services:
frontend:
image: 554043692091.dkr.ecr.eu-west-2.amazonaws.com/sre-agent/frontend:fshop
ports:
- "8080:8080"
environment:
- PORT=8080
- PRODUCT_CATALOG_SERVICE_ADDR=productcatalogservice:3550
- CURRENCY_SERVICE_ADDR=currencyservice:7000
- CART_SERVICE_ADDR=cartservice:7070
- RECOMMENDATION_SERVICE_ADDR=recommendationservice:8080
- SHIPPING_SERVICE_ADDR=shippingservice:50051
- CHECKOUT_SERVICE_ADDR=checkoutservice:5050
- AD_SERVICE_ADDR=adservice:9555
- SHOPPING_ASSISTANT_SERVICE_ADDR=shoppingassistantservice:80
depends_on:
- productcatalogservice
- currencyservice
- cartservice
- recommendationservice
- shippingservice
- checkoutservice
- adservice
productcatalogservice:
image: 554043692091.dkr.ecr.eu-west-2.amazonaws.com/sre-agent/productcatalogservice:fshop
environment:
- PORT=3550
- DISABLE_PROFILER=1
currencyservice:
image: 554043692091.dkr.ecr.eu-west-2.amazonaws.com/sre-agent/currencyservice:latest
environment:
- PORT=7000
- DISABLE_PROFILER=1
cartservice:
image: 554043692091.dkr.ecr.eu-west-2.amazonaws.com/sre-agent/cartservice:latest
environment:
- REDIS_ADDR=redis-cart:6379
depends_on:
- redis-cart
redis-cart:
image: redis:alpine
ports:
- "6379:6379"
recommendationservice:
image: us-central1-docker.pkg.dev/google-samples/microservices-demo/recommendationservice:v0.10.2
environment:
- PORT=8080
- PRODUCT_CATALOG_SERVICE_ADDR=productcatalogservice:3550
- DISABLE_PROFILER=1
shippingservice:
image: 554043692091.dkr.ecr.eu-west-2.amazonaws.com/sre-agent/shippingservice:latest
environment:
- PORT=50051
- DISABLE_PROFILER=1
checkoutservice:
image: 554043692091.dkr.ecr.eu-west-2.amazonaws.com/sre-agent/checkoutservice:latest
environment:
- PORT=5050
- PRODUCT_CATALOG_SERVICE_ADDR=productcatalogservice:3550
- SHIPPING_SERVICE_ADDR=shippingservice:50051
- PAYMENT_SERVICE_ADDR=paymentservice:50051
- EMAIL_SERVICE_ADDR=emailservice:5000
- CURRENCY_SERVICE_ADDR=currencyservice:7000
- CART_SERVICE_ADDR=cartservice:7070
paymentservice:
image: 554043692091.dkr.ecr.eu-west-2.amazonaws.com/sre-agent/paymentservice:latest
environment:
- PORT=50051
- DISABLE_PROFILER=1
emailservice:
image: us-central1-docker.pkg.dev/google-samples/microservices-demo/emailservice:v0.10.2
environment:
- PORT=8080
- DISABLE_PROFILER=1
adservice:
image: us-central1-docker.pkg.dev/google-samples/microservices-demo/adservice:v0.10.2
environment:
- PORT=9555