-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.override.yml
203 lines (186 loc) · 4.23 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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
version: '3.4'
services:
webapp:
environment:
- ASPNETCORE_ENVIRONMENT=Development
ports:
- "2000:2000"
networks:
- net_frontend
- net_apigateway
web.apigateway:
environment:
- ASPNETCORE_ENVIRONMENT=Development
- ASPNETCORE_URLS=http://+:5000
ports:
- "5000:5000"
networks:
- net_apigateway
- net_backendservices
#- net_frontend
orderservice.api:
environment:
- ASPNETCORE_ENVIRONMENT=Development
- ASPNETCORE_URLS=http://+:5002
- ConsulConfig__Address=http://s_consul:8500
- ConsulConfig__ServiceAddress=http://c_orderservice:5002
- ConsulConfig__ServiceName=OrderService
- ConsulConfig__ServiceId=Order
ports:
- "5002:5002"
networks:
- net_backendservices
depends_on:
- web.apigateway
- s_sqlserver
- s_consul
- s_rabbitmq
external_links:
- c_graylog
- s_consul
- s_rabbitmq
- s_sqlserver
identityservice.api:
environment:
- ASPNETCORE_ENVIRONMENT=Development
- ASPNETCORE_URLS=http://+:5005
- ConsulConfig__Address=http://s_consul:8500
- ConsulConfig__ServiceAddress=http://c_identityservice:5005
- ConsulConfig__ServiceName=IdentityService
- ConsulConfig__ServiceId=Identity
ports:
- "5005:5005"
networks:
- net_backendservices
depends_on:
- web.apigateway
- s_sqlserver
- s_consul
- s_rabbitmq
external_links:
- c_graylog
- s_consul
- s_rabbitmq
- s_sqlserver
catalogservice.api:
environment:
- ASPNETCORE_ENVIRONMENT=Development
- ASPNETCORE_URLS=http://+:5004
- ConsulConfig__Address=http://s_consul:8500
- ConsulConfig__ServiceAddress=http://c_catalogservice:5004
- ConsulConfig__ServiceName=CatalogService
- ConsulConfig__ServiceId=Catalog
ports:
- "5004:5004"
networks:
- net_backendservices
depends_on:
- web.apigateway
- s_sqlserver
- s_consul
- s_rabbitmq
external_links:
- c_graylog
- s_consul
- s_rabbitmq
- s_sqlserver
basketservice.api:
environment:
- ASPNETCORE_ENVIRONMENT=Development
- ASPNETCORE_URLS=http://+:5003
- ConsulConfig__Address=http://s_consul:8500
- ConsulConfig__ServiceAddress=http://c_basketservice:5003
- ConsulConfig__ServiceName=BasketService
- ConsulConfig__ServiceId=Basket
ports:
- "5003:5003"
networks:
- net_backendservices
depends_on:
- web.apigateway
- s_redis
- s_consul
- s_rabbitmq
external_links:
- c_graylog
- s_consul
- s_rabbitmq
- s_redis
paymentservice.api:
environment:
- ASPNETCORE_ENVIRONMENT=Development
- ASPNETCORE_URLS=http://+:5001
ports:
- "5001"
networks:
- net_backendservices
depends_on:
- s_rabbitmq
external_links:
- c_graylog
- s_consul
- s_rabbitmq
notificationservice:
tty: true
environment:
- ASPNETCORE_ENVIRONMENT=Development
networks:
- net_backendservices
depends_on:
- s_rabbitmq
external_links:
- c_graylog
- s_consul
- s_rabbitmq
s_consul:
ports:
- 8500:8500
- 8600:8600/tcp
- 8600:8600/udp
networks:
- net_apigateway
- net_frontend
- net_backendservices
s_sqlserver:
user: root
ports:
- 1433:1433
environment:
- ACCEPT_EULA=Y
- MSSQL_SA_PASSWORD=Salih123!
volumes:
- sqlserver_data:/var/opt/mssql/data
- sqlserver_log:/var/opt/mssql/log
networks:
- net_backendservices
s_rabbitmq:
ports:
- 5672:5672
- 15672:15672
volumes:
- rabbitmq:/var/lib/rabbitmq
networks:
- net_backendservices
- net_apigateway
- net_frontend
s_redis:
ports:
- 6379:6379
volumes:
- /opt/app_data/redis/:/data
networks:
- net_backendservices
networks:
net_apigateway:
driver: bridge
external: true
net_frontend:
driver: bridge
external: true
net_backendservices:
driver: bridge
external: true
volumes:
rabbitmq:
sqlserver_data:
sqlserver_log: