-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.override.yml
91 lines (82 loc) · 2.25 KB
/
docker-compose.override.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
version: '3.4'
services:
catalogdb:
container_name: catalogdb
restart: always
volumes:
- ${WEBAPP_STRORAGE_HOME}/site:/data/db
ports:
- "27017:27017"
basketdb:
container_name: basketdb
restart: always
ports:
- "6379:6379"
orderdb:
container_name: orderdb
ports:
- "1433:1433"
environment:
SA_PASSWORD: "Strongman@1234"
ACCEPT_EULA: "Y"
rabbitmq:
container_name: rabbitmq
restart: always
ports:
- "15672:15672"
catalog.api:
container_name: catalogapi
environment:
- ASPNETCORE_ENVIRONMENT=Development
- "CatalogDatabaseSettings:ConnectionString=mongodb://catalogdb:27017"
- "EventBus:Hostname=rabbitmq"
depends_on:
- catalogdb
- rabbitmq
volumes:
- ${HOME}/.microsoft/usersecretes/:/root/.microsoft/usersecretes
- ${HOME}/.aspnet/https/:/root/.aspnet/https/
ports:
- "8000:80"
basket.api:
container_name: basketapi
environment:
- ASPNETCORE_ENVIRONMENT=Development
- "ConnectionStrings:Redis=basketdb:6379"
- "EventBus:Hostname=rabbitmq"
depends_on:
- basketdb
- rabbitmq
volumes:
- ${HOME}/.microsoft/usersecretes/:/root/.microsoft/usersecretes
- ${HOME}/.aspnet/https/:/root/.aspnet/https/
ports:
- "8001:80"
ordering.api:
container_name: orderingapi
restart: on-failure
environment:
- ASPNETCORE_ENVIRONMENT=Development
- "ConnectionStrings:OrderConnection=Server=LAPTOP-59CMI8H3;Database=master;User Id=sa;Password=Strongman@1234"
- "EventBus:Hostname=rabbitmq"
depends_on:
- orderdb
- rabbitmq
volumes:
- ${HOME}/.microsoft/usersecretes/:/root/.microsoft/usersecretes
- ${HOME}/.aspnet/https/:/root/.aspnet/https/
ports:
- "8002:80"
ocelotapigateway:
container_name: ocelotapigateway
environment:
- ASPNETCORE_ENVIRONMENT=Development
depends_on:
- catalog.api
- basket.api
- ordering.api
volumes:
- ${HOME}/.microsoft/usersecretes/:/root/.microsoft/usersecretes
- ${HOME}/.aspnet/https/:/root/.aspnet/https/
ports:
- "7000:80"