-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathdocker-compose.override.yml
118 lines (104 loc) · 2.67 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
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
version: '3.4'
services:
coursedb:
container_name: coursedb
ports:
- "1433:1433"
environment:
SA_PASSWORD: "Yasser_123"
ACCEPT_EULA: "Y"
volumes:
- coursedbsqldata:/var/opt/mssql
userdb:
container_name: userdb
ports:
- "1434:1433"
environment:
SA_PASSWORD: "Yasser_123"
ACCEPT_EULA: "Y"
volumes:
- userdbsqldata:/var/opt/mssql
course.api:
container_name: courseapi
environment:
- ASPNETCORE_ENVIRONMENT=Development
ports:
- "90:80"
volumes:
- ${APPDATA}/Microsoft/UserSecrets:/root/.microsoft/usersecrets:ro
user.api:
container_name: userapi
environment:
- ASPNETCORE_ENVIRONMENT=Development
ports:
- "80:80"
volumes:
- ${APPDATA}/Microsoft/UserSecrets:/root/.microsoft/usersecrets:ro
studentcoursedb:
container_name: studentcoursedb
ports:
- "1435:1433"
environment:
SA_PASSWORD: "Yasser_123"
ACCEPT_EULA: "Y"
volumes:
- studentcoursedbsqldata:/var/opt/mssql
basketdb:
container_name: basketdb
restart: always
ports:
- "6379:6379"
rabbitmq:
container_name: rabbitmq
restart: always
ports:
- "5672:5672"
- "15672:15672"
studentcourse.api:
container_name: studentcourseapi
restart: on-failure
environment:
- ASPNETCORE_ENVIRONMENT=Development
- "ConnectionStrings:StudentCourseConnection=Server=studentcoursedb;Database=StudentCourses;User Id=sa;Password=Yasser_123"
- "EventBus:HostName=rabbitmq"
ports:
- "100:80"
depends_on:
- studentcoursedb
- rabbitmq
cmapigateway:
container_name: cmapigateway
environment:
- ASPNETCORE_ENVIRONMENT=Development
depends_on:
- course.api
- user.api
volumes:
- ${HOME}/.microsoft/usersecrets/:/root/.microsoft/usersecrets
- ${HOME}/.aspnet/https:/root/.aspnet/https:oc
ports:
- "130:80"
coursebasket.api:
container_name: coursebasketapi
environment:
- ASPNETCORE_ENVIRONMENT=Development
- "ConnectionStrings:Redis=basketdb:6379"
- "EventBus:HostName=rabbitmq"
depends_on:
- basketdb
- rabbitmq
volumes:
- ${HOME}/.microsoft/usersecrets/:/root/.microsoft/usersecrets
- ${HOME}/.aspnet/https:/root/.aspnet/https:bs
ports:
- "120:80"
scm.web:
container_name: scmweb
depends_on:
- cmapigateway
ports:
- "150:80"
volumes:
coursedbsqldata:
userdbsqldata:
studentcoursedbsqldata: