forked from dotnet-architecture/eShopOnDapr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
136 lines (112 loc) · 3.21 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
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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
version: '3.4'
services:
maildev:
image: maildev/maildev:latest
rabbitmq:
image: rabbitmq:3-management-alpine
redis:
image: redis:alpine
seq:
image: datalust/seq:latest
# Use the Azure SQL Edge version so we can also run on Apple Sillicon (thanks @ChristianWeyer)
sqldata:
image: mcr.microsoft.com/azure-sql-edge
zipkin:
image: openzipkin/zipkin-slim:latest
basket-api:
image: ${REGISTRY:-eshopdapr}/basket.api:${TAG:-latest}
build:
context: .
dockerfile: src/Services/Basket/Basket.API/Dockerfile
depends_on:
- identity-api
- redis
basket-api-dapr:
image: "daprio/daprd:1.9.4"
network_mode: "service:basket-api"
depends_on:
- basket-api
blazor-client:
image: ${REGISTRY:-eshopdapr}/blazor.client:${TAG:-latest}
build:
context: .
dockerfile: src/Web/BlazorClient.Host/Dockerfile
catalog-api:
image: ${REGISTRY:-eshopdapr}/catalog.api:${TAG:-latest}
build:
context: .
dockerfile: src/Services/Catalog/Catalog.API/Dockerfile
depends_on:
- sqldata
catalog-api-dapr:
image: "daprio/daprd:1.9.4"
network_mode: "service:catalog-api"
depends_on:
- catalog-api
identity-api:
image: ${REGISTRY:-eshopdapr}/identity.api:${TAG:-latest}
build:
context: .
dockerfile: src/Services/Identity/Identity.API/Dockerfile
depends_on:
- sqldata
identity-api-dapr:
image: "daprio/daprd:1.9.4"
network_mode: "service:identity-api"
depends_on:
- identity-api
ordering-api:
image: ${REGISTRY:-eshopdapr}/ordering.api:${TAG:-latest}
build:
context: .
dockerfile: src/Services/Ordering/Ordering.API/Dockerfile
depends_on:
- sqldata
ordering-api-dapr:
image: "daprio/daprd:1.9.4"
network_mode: "service:ordering-api"
depends_on:
- ordering-api
payment-api:
image: ${REGISTRY:-eshopdapr}/payment.api:${TAG:-latest}
build:
context: .
dockerfile: src/Services/Payment/Payment.API/Dockerfile
payment-api-dapr:
image: "daprio/daprd:1.9.4"
network_mode: "service:payment-api"
depends_on:
- payment-api
webshoppingagg:
image: ${REGISTRY:-eshopdapr}/webshoppingagg:${TAG:-latest}
build:
context: .
dockerfile: src/ApiGateways/Aggregators/Web.Shopping.HttpAggregator/Dockerfile
depends_on:
- basket-api
- catalog-api
- identity-api
- ordering-api
- sqldata
webshoppingagg-dapr:
image: "daprio/daprd:1.9.4"
network_mode: "service:webshoppingagg"
depends_on:
- webshoppingagg
webshoppingapigw:
image: ${REGISTRY:-eshopdapr}/webshoppingapigw:${TAG:-latest}
build:
context: .
dockerfile: src/ApiGateways/Envoy/Dockerfile
webshoppingapigw-dapr:
image: "daprio/daprd:1.9.4"
network_mode: "service:webshoppingapigw"
depends_on:
- webshoppingapigw
webstatus:
image: ${REGISTRY:-eshopdapr}/webstatus:${TAG:-latest}
build:
context: .
dockerfile: src/Web/WebStatus/Dockerfile
dapr-placement:
image: "daprio/dapr:1.9.4"