-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdocker-compose.yml
91 lines (80 loc) · 1.65 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
version: '3.4'
services:
catalog.api:
image: ${DOCKER_REGISTRY-}catalogapi
build:
context: .
dockerfile: Services/Catalog/Catalog.Api/Dockerfile
depends_on:
- sqlserver
- rabbitmq
networks:
- microstore
ordering.api:
image: ${DOCKER_REGISTRY-}orderingapi
build:
context: .
dockerfile: Services/Ordering/Ordering.Api/Dockerfile
depends_on:
- sqlserver
- rabbitmq
networks:
- microstore
cart.api:
image: ${DOCKER_REGISTRY-}cartapi
build:
context: .
dockerfile: Services/Cart/Cart.Api/Dockerfile
depends_on:
- redis
- rabbitmq
networks:
- microstore
discount.grpc:
image: ${DOCKER_REGISTRY-}discountgrpc
build:
context: .
dockerfile: Services/Discount/Discount.Grpc/Dockerfile
depends_on:
- sqlserver
networks:
- microstore
sqlserver:
image: mcr.microsoft.com/mssql/server:2019-latest
restart: always
networks:
- microstore
redis:
image: redis:alpine
restart: always
networks:
- microstore
rabbitmq:
image: rabbitmq:3-management
restart: always
networks:
- microstore
seq:
image: datalust/seq
restart: always
networks:
- microstore
consul:
image: consul
restart: always
networks:
- microstore
gateway.webapi:
image: ${DOCKER_REGISTRY-}gatewaywebapi
build:
context: .
dockerfile: ApiGateways/Gateway.WebApi/Dockerfile
depends_on:
- catalog.api
- cart.api
- ordering.api
networks:
- microstore
networks:
microstore:
name: microstore-network