You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

424 lines
22 KiB

6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
7 years ago
6 years ago
6 years ago
  1. version: '3.4'
  2. # The default docker-compose.override file can use the "localhost" as the external name for testing web apps within the same dev machine.
  3. # The ESHOP_EXTERNAL_DNS_NAME_OR_IP environment variable is taken, by default, from the ".env" file defined like:
  4. # ESHOP_EXTERNAL_DNS_NAME_OR_IP=localhost
  5. # but values present in the environment vars at runtime will always override those defined inside the .env file
  6. # An external IP or DNS name has to be used (instead localhost and the 10.0.75.1 IP) when testing the Web apps and the Xamarin apps from remote machines/devices using the same WiFi, for instance.
  7. services:
  8. seq:
  9. environment:
  10. - ACCEPT_EULA=Y
  11. ports:
  12. - "5340:80"
  13. sql.data:
  14. environment:
  15. - SA_PASSWORD=Pass@word
  16. - ACCEPT_EULA=Y
  17. ports:
  18. - "5433:1433" # Important: In a production environment your should remove the external port
  19. nosql.data:
  20. ports:
  21. - "27017:27017" # Important: In a production environment your should remove the external port
  22. basket.data:
  23. ports:
  24. - "6379:6379" # Important: In a production environment your should remove the external port
  25. rabbitmq:
  26. ports:
  27. - "15672:15672" # Important: In a production environment your should remove the external port
  28. - "5672:5672" # Important: In a production environment your should remove the external port
  29. identity.api:
  30. environment:
  31. - ASPNETCORE_ENVIRONMENT=Development
  32. - ASPNETCORE_URLS=http://0.0.0.0:80
  33. - SpaClient=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5104
  34. - XamarinCallback=http://${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP}:5105/xamarincallback #localhost do not work for UWP login, so we have to use "external" IP always
  35. - ConnectionString=${ESHOP_AZURE_IDENTITY_DB:-Server=sql.data;Database=Microsoft.eShopOnContainers.Service.IdentityDb;User Id=sa;Password=Pass@word}
  36. - MvcClient=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5100 #Local: You need to open your local dev-machine firewall at range 5100-5110.
  37. - LocationApiClient=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5109
  38. - MarketingApiClient=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5110
  39. - BasketApiClient=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5103
  40. - OrderingApiClient=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5102
  41. - MobileShoppingAggClient=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5120
  42. - WebShoppingAggClient=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5121
  43. - WebhooksApiClient=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5113
  44. - WebhooksWebClient=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5114
  45. - UseCustomizationData=True
  46. - ApplicationInsights__InstrumentationKey=${INSTRUMENTATION_KEY}
  47. - OrchestratorType=${ORCHESTRATOR_TYPE}
  48. ports:
  49. - "5105:80"
  50. basket.api:
  51. environment:
  52. - ASPNETCORE_ENVIRONMENT=Development
  53. - ASPNETCORE_URLS=http://0.0.0.0:80
  54. - ConnectionString=${ESHOP_AZURE_REDIS_BASKET_DB:-basket.data}
  55. - identityUrl=http://identity.api #Local: You need to open your local dev-machine firewall at range 5100-5110.
  56. - IdentityUrlExternal=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5105
  57. - EventBusConnection=${ESHOP_AZURE_SERVICE_BUS:-rabbitmq}
  58. - EventBusUserName=${ESHOP_SERVICE_BUS_USERNAME}
  59. - EventBusPassword=${ESHOP_SERVICE_BUS_PASSWORD}
  60. - AzureServiceBusEnabled=False
  61. - ApplicationInsights__InstrumentationKey=${INSTRUMENTATION_KEY}
  62. - OrchestratorType=${ORCHESTRATOR_TYPE}
  63. - UseLoadTest=${USE_LOADTEST:-False}
  64. ports:
  65. - "5103:80" # Important: In a production environment your should remove the external port (5103) kept here for microservice debugging purposes.
  66. # The API Gateway redirects and access through the internal port (80).
  67. catalog.api:
  68. environment:
  69. - ASPNETCORE_ENVIRONMENT=Development
  70. - ConnectionString=${ESHOP_AZURE_CATALOG_DB:-Server=sql.data;Database=Microsoft.eShopOnContainers.Services.CatalogDb;User Id=sa;Password=Pass@word}
  71. - PicBaseUrl=${ESHOP_AZURE_STORAGE_CATALOG_URL:-http://localhost:5202/api/v1/c/catalog/items/[0]/pic/} #Local: You need to open your local dev-machine firewall at range 5100-5110.
  72. - EventBusConnection=${ESHOP_AZURE_SERVICE_BUS:-rabbitmq}
  73. - EventBusUserName=${ESHOP_SERVICE_BUS_USERNAME}
  74. - EventBusPassword=${ESHOP_SERVICE_BUS_PASSWORD}
  75. - AzureStorageAccountName=${ESHOP_AZURE_STORAGE_CATALOG_NAME}
  76. - AzureStorageAccountKey=${ESHOP_AZURE_STORAGE_CATALOG_KEY}
  77. - UseCustomizationData=True
  78. - AzureServiceBusEnabled=False
  79. - AzureStorageEnabled=False
  80. - ApplicationInsights__InstrumentationKey=${INSTRUMENTATION_KEY}
  81. - OrchestratorType=${ORCHESTRATOR_TYPE}
  82. - GRPC_PORT=81
  83. - PORT=80
  84. ports:
  85. - "5101:80"
  86. - "9101:81"
  87. ordering.api:
  88. environment:
  89. - ASPNETCORE_ENVIRONMENT=Development
  90. - ASPNETCORE_URLS=http://0.0.0.0:80
  91. - ConnectionString=${ESHOP_AZURE_ORDERING_DB:-Server=sql.data;Database=Microsoft.eShopOnContainers.Services.OrderingDb;User Id=sa;Password=Pass@word}
  92. - identityUrl=http://identity.api #Local: You need to open your local dev-machine firewall at range 5100-5110.
  93. - IdentityUrlExternal=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5105
  94. - EventBusConnection=${ESHOP_AZURE_SERVICE_BUS:-rabbitmq}
  95. - EventBusUserName=${ESHOP_SERVICE_BUS_USERNAME}
  96. - EventBusPassword=${ESHOP_SERVICE_BUS_PASSWORD}
  97. - UseCustomizationData=True
  98. - AzureServiceBusEnabled=False
  99. - CheckUpdateTime=30000
  100. - ApplicationInsights__InstrumentationKey=${INSTRUMENTATION_KEY}
  101. - OrchestratorType=${ORCHESTRATOR_TYPE}
  102. - UseLoadTest=${USE_LOADTEST:-False}
  103. - Serilog__MinimumLevel__Override__Microsoft.eShopOnContainers.BuildingBlocks.EventBusRabbitMQ=Verbose
  104. - Serilog__MinimumLevel__Override__Ordering.API=Verbose
  105. ports:
  106. - "5102:80" # Important: In a production environment your should remove the external port (5102) kept here for microservice debugging purposes.
  107. # The API Gateway redirects and access through the internal port (80).
  108. ordering.backgroundtasks:
  109. environment:
  110. - ASPNETCORE_ENVIRONMENT=Development
  111. - ASPNETCORE_URLS=http://0.0.0.0:80
  112. - ConnectionString=${ESHOP_AZURE_ORDERING_DB:-Server=sql.data;Database=Microsoft.eShopOnContainers.Services.OrderingDb;User Id=sa;Password=Pass@word}
  113. - EventBusConnection=${ESHOP_AZURE_SERVICE_BUS:-rabbitmq}
  114. - EventBusUserName=${ESHOP_SERVICE_BUS_USERNAME}
  115. - EventBusPassword=${ESHOP_SERVICE_BUS_PASSWORD}
  116. - UseCustomizationData=True
  117. - AzureServiceBusEnabled=False
  118. - CheckUpdateTime=30000
  119. - GracePeriodTime=1
  120. - ApplicationInsights__InstrumentationKey=${INSTRUMENTATION_KEY}
  121. - OrchestratorType=${ORCHESTRATOR_TYPE}
  122. - UseLoadTest=${USE_LOADTEST:-False}
  123. - Serilog__MinimumLevel__Override__Microsoft.eShopOnContainers.BuildingBlocks.EventBusRabbitMQ=Verbose
  124. ports:
  125. - "5111:80"
  126. marketing.api:
  127. environment:
  128. - ASPNETCORE_ENVIRONMENT=Development
  129. - ASPNETCORE_URLS=http://0.0.0.0:80
  130. - ConnectionString=${ESHOP_AZURE_MARKETING_DB:-Server=sql.data;Database=Microsoft.eShopOnContainers.Services.MarketingDb;User Id=sa;Password=Pass@word}
  131. - MongoConnectionString=${ESHOP_AZURE_COSMOSDB:-mongodb://nosql.data}
  132. - MongoDatabase=MarketingDb
  133. - EventBusConnection=${ESHOP_AZURE_SERVICE_BUS:-rabbitmq}
  134. - EventBusUserName=${ESHOP_SERVICE_BUS_USERNAME}
  135. - EventBusPassword=${ESHOP_SERVICE_BUS_PASSWORD}
  136. - identityUrl=http://identity.api #Local: You need to open your local dev-machine firewall at range 5100-5110.
  137. - IdentityUrlExternal=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5105
  138. - CampaignDetailFunctionUri=${ESHOP_AZUREFUNC_CAMPAIGN_DETAILS_URI}
  139. - PicBaseUrl=${ESHOP_AZURE_STORAGE_MARKETING_URL:-http://localhost:5110/api/v1/campaigns/[0]/pic/}
  140. - AzureStorageAccountName=${ESHOP_AZURE_STORAGE_MARKETING_NAME}
  141. - AzureStorageAccountKey=${ESHOP_AZURE_STORAGE_MARKETING_KEY}
  142. - AzureServiceBusEnabled=False
  143. - AzureStorageEnabled=False
  144. - ApplicationInsights__InstrumentationKey=${INSTRUMENTATION_KEY}
  145. - OrchestratorType=${ORCHESTRATOR_TYPE}
  146. - UseLoadTest=${USE_LOADTEST:-False}
  147. ports:
  148. - "5110:80" # Important: In a production environment your should remove the external port (5110) kept here for microservice debugging purposes.
  149. # The API Gateway redirects and access through the internal port (80).
  150. payment.api:
  151. environment:
  152. - ASPNETCORE_ENVIRONMENT=Development
  153. - ASPNETCORE_URLS=http://0.0.0.0:80
  154. - EventBusConnection=${ESHOP_AZURE_SERVICE_BUS:-rabbitmq}
  155. - EventBusUserName=${ESHOP_SERVICE_BUS_USERNAME}
  156. - EventBusPassword=${ESHOP_SERVICE_BUS_PASSWORD}
  157. - AzureServiceBusEnabled=False
  158. - ApplicationInsights__InstrumentationKey=${INSTRUMENTATION_KEY}
  159. - OrchestratorType=${ORCHESTRATOR_TYPE}
  160. - Serilog__MinimumLevel__Override__Payment.API.IntegrationEvents.EventHandling=Verbose
  161. - Serilog__MinimumLevel__Override__Microsoft.eShopOnContainers.BuildingBlocks.EventBusRabbitMQ=Verbose
  162. ports:
  163. - "5108:80" # Important: In a production environment your should remove the external port (5108) kept here for microservice debugging purposes.
  164. # The API Gateway redirects and access through the internal port (80).
  165. locations.api:
  166. environment:
  167. - ASPNETCORE_ENVIRONMENT=Development
  168. - ASPNETCORE_URLS=http://0.0.0.0:80
  169. - ConnectionString=${ESHOP_AZURE_COSMOSDB:-mongodb://nosql.data}
  170. - Database=LocationsDb
  171. - identityUrl=http://identity.api #Local: You need to open your local dev-machine firewall at range 5100-5110.
  172. - IdentityUrlExternal=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5105
  173. - EventBusConnection=${ESHOP_AZURE_SERVICE_BUS:-rabbitmq}
  174. - EventBusUserName=${ESHOP_SERVICE_BUS_USERNAME}
  175. - EventBusPassword=${ESHOP_SERVICE_BUS_PASSWORD}
  176. - AzureServiceBusEnabled=False
  177. - ApplicationInsights__InstrumentationKey=${INSTRUMENTATION_KEY}
  178. - OrchestratorType=${ORCHESTRATOR_TYPE}
  179. - UseLoadTest=${USE_LOADTEST:-False}
  180. ports:
  181. - "5109:80" # Important: In a production environment your should remove the external port (5109) kept here for microservice debugging purposes.
  182. # The API Gateway redirects and access through the internal port (80).
  183. webhooks.api:
  184. environment:
  185. - ASPNETCORE_ENVIRONMENT=Development
  186. - ASPNETCORE_URLS=http://0.0.0.0:80
  187. - ConnectionString=${ESHOP_AZURE_WEBHOOKS_DB:-Server=sql.data;Database=Microsoft.eShopOnContainers.Services.WebhooksDb;User Id=sa;Password=Pass@word}
  188. - EventBusConnection=${ESHOP_AZURE_SERVICE_BUS:-rabbitmq}
  189. - EventBusUserName=${ESHOP_SERVICE_BUS_USERNAME}
  190. - EventBusPassword=${ESHOP_SERVICE_BUS_PASSWORD}
  191. - IdentityUrl=http://identity.api
  192. - IdentityUrlExternal=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5105
  193. ports:
  194. - "5113:80" # Important: In a production environment your should remove the external port (5109) kept here for microservice debugging purposes.
  195. # The API Gateway redirects and access through the internal port (80).
  196. mobileshoppingapigw:
  197. environment:
  198. - ASPNETCORE_ENVIRONMENT=Development
  199. - IdentityUrl=http://identity.api #Local: You need to open your local dev-machine firewall at range 5100-5110.
  200. - urls__basket=http://basket.api
  201. - urls__catalog=http://catalog.api
  202. - urls__orders=http://ordering.api
  203. - urls__identity=http://identity.api
  204. - CatalogUrlHC=http://catalog.api/hc
  205. - OrderingUrlHC=http://ordering.api/hc
  206. - IdentityUrlHC=http://identity.api/hc
  207. - BasketUrlHC=http://basket.api/hc
  208. - MarketingUrlHC=http://marketing.api/hc
  209. - PaymentUrlHC=http://payment.api/hc
  210. - LocationUrlHC=http://locations.api/hc
  211. ports:
  212. - "5200:80"
  213. volumes:
  214. - ./src/ApiGateways/Mobile.Bff.Shopping/apigw:${ESHOP_OCELOT_VOLUME_SPEC:-/app/configuration}
  215. mobilemarketingapigw:
  216. environment:
  217. - ASPNETCORE_ENVIRONMENT=Development
  218. - IdentityUrl=http://identity.api #Local: You need to open your local dev-machine firewall at range 5100-5110.
  219. - CatalogUrlHC=http://catalog.api/hc
  220. - OrderingUrlHC=http://ordering.api/hc
  221. - IdentityUrlHC=http://identity.api/hc
  222. - BasketUrlHC=http://basket.api/hc
  223. - MarketingUrlHC=http://marketing.api/hc
  224. - PaymentUrlHC=http://payment.api/hc
  225. - LocationUrlHC=http://locations.api/hc
  226. ports:
  227. - "5201:80"
  228. volumes:
  229. - ./src/ApiGateways/Mobile.Bff.Marketing/apigw:${ESHOP_OCELOT_VOLUME_SPEC:-/app/configuration}
  230. webshoppingapigw:
  231. environment:
  232. - ASPNETCORE_ENVIRONMENT=Development
  233. - IdentityUrl=http://identity.api #Local: You need to open your local dev-machine firewall at range 5100-5110.
  234. - CatalogUrlHC=http://catalog.api/hc
  235. - OrderingUrlHC=http://ordering.api/hc
  236. - IdentityUrlHC=http://identity.api/hc
  237. - BasketUrlHC=http://basket.api/hc
  238. - MarketingUrlHC=http://marketing.api/hc
  239. - PaymentUrlHC=http://payment.api/hc
  240. - LocationUrlHC=http://locations.api/hc
  241. ports:
  242. - "5202:80"
  243. volumes:
  244. - ./src/ApiGateways/Web.Bff.Shopping/apigw:${ESHOP_OCELOT_VOLUME_SPEC:-/app/configuration}
  245. webmarketingapigw:
  246. environment:
  247. - ASPNETCORE_ENVIRONMENT=Development
  248. - IdentityUrl=http://identity.api #Local: You need to open your local dev-machine firewall at range 5100-5110.
  249. - CatalogUrlHC=http://catalog.api/hc
  250. - OrderingUrlHC=http://ordering.api/hc
  251. - IdentityUrlHC=http://identity.api/hc
  252. - BasketUrlHC=http://basket.api/hc
  253. - MarketingUrlHC=http://marketing.api/hc
  254. - PaymentUrlHC=http://payment.api/hc
  255. - LocationUrlHC=http://locations.api/hc
  256. ports:
  257. - "5203:80"
  258. volumes:
  259. - ./src/ApiGateways/Web.Bff.Marketing/apigw:${ESHOP_OCELOT_VOLUME_SPEC:-/app/configuration}
  260. mobileshoppingagg:
  261. environment:
  262. - ASPNETCORE_ENVIRONMENT=Development
  263. - urls__basket=http://basket.api
  264. - urls__catalog=http://catalog.api
  265. - urls__orders=http://ordering.api
  266. - urls__identity=http://identity.api #Local: You need to open your local dev-machine firewall at range 5100-5110.
  267. - CatalogUrlHC=http://catalog.api/hc
  268. - OrderingUrlHC=http://ordering.api/hc
  269. - IdentityUrlHC=http://identity.api/hc
  270. - BasketUrlHC=http://basket.api/hc
  271. - MarketingUrlHC=http://marketing.api/hc
  272. - PaymentUrlHC=http://payment.api/hc
  273. - LocationUrlHC=http://locations.api/hc
  274. ports:
  275. - "5120:80" # Important: In a production environment your should remove the external port (5120) kept here for microservice debugging purposes.
  276. # The API Gateway redirects and access through the internal port (80).
  277. webshoppingagg:
  278. environment:
  279. - ASPNETCORE_ENVIRONMENT=Development
  280. - urls__basket=http://basket.api
  281. - urls__catalog=http://catalog.api
  282. - urls__orders=http://ordering.api
  283. - urls__identity=http://identity.api #Local: You need to open your local dev-machine firewall at range 5100-5110.
  284. - CatalogUrlHC=http://catalog.api/hc
  285. - OrderingUrlHC=http://ordering.api/hc
  286. - IdentityUrlHC=http://identity.api/hc
  287. - BasketUrlHC=http://basket.api/hc
  288. - MarketingUrlHC=http://marketing.api/hc
  289. - PaymentUrlHC=http://payment.api/hc
  290. - LocationUrlHC=http://locations.api/hc
  291. ports:
  292. - "5121:80" # Important: In a production environment your should remove the external port (5121) kept here for microservice debugging purposes.
  293. # The API Gateway redirects and access through the internal port (80).
  294. ordering.signalrhub:
  295. environment:
  296. - ASPNETCORE_ENVIRONMENT=Development
  297. - ASPNETCORE_URLS=http://0.0.0.0:80
  298. - EventBusConnection=${ESHOP_AZURE_SERVICE_BUS:-rabbitmq}
  299. - EventBusUserName=${ESHOP_SERVICE_BUS_USERNAME}
  300. - EventBusPassword=${ESHOP_SERVICE_BUS_PASSWORD}
  301. - AzureServiceBusEnabled=False
  302. - ApplicationInsights__InstrumentationKey=${INSTRUMENTATION_KEY}
  303. - OrchestratorType=${ORCHESTRATOR_TYPE}
  304. - identityUrl=http://identity.api #Local: You need to open your local dev-machine firewall at range 5100-5110.
  305. ports:
  306. - "5112:80"
  307. webstatus:
  308. environment:
  309. - ASPNETCORE_ENVIRONMENT=Production
  310. - ASPNETCORE_URLS=http://0.0.0.0:80
  311. - HealthChecks-UI__HealthChecks__0__Name=WebMVC HTTP Check
  312. - HealthChecks-UI__HealthChecks__0__Uri=http://webmvc/hc
  313. - HealthChecks-UI__HealthChecks__1__Name=WebSPA HTTP Check
  314. - HealthChecks-UI__HealthChecks__1__Uri=http://webspa/hc
  315. - HealthChecks-UI__HealthChecks__2__Name=Web Shopping Aggregator GW HTTP Check
  316. - HealthChecks-UI__HealthChecks__2__Uri=http://webshoppingagg/hc
  317. - HealthChecks-UI__HealthChecks__3__Name=Mobile Shopping Aggregator HTTP Check
  318. - HealthChecks-UI__HealthChecks__3__Uri=http://mobileshoppingagg/hc
  319. - HealthChecks-UI__HealthChecks__4__Name=Mobile Shopping API GW HTTP Check
  320. - HealthChecks-UI__HealthChecks__4__Uri=http://mobileshoppingapigw/hc
  321. - HealthChecks-UI__HealthChecks__5__Name=Mobile Marketing API GW HTTP Check
  322. - HealthChecks-UI__HealthChecks__5__Uri=http://mobilemarketingapigw/hc
  323. - HealthChecks-UI__HealthChecks__6__Name=Web Shopping API GW HTTP Check
  324. - HealthChecks-UI__HealthChecks__6__Uri=http://webshoppingapigw/hc
  325. - HealthChecks-UI__HealthChecks__7__Name=Web Marketing API GW HTTP Check
  326. - HealthChecks-UI__HealthChecks__7__Uri=http://webmarketingapigw/hc
  327. - HealthChecks-UI__HealthChecks__8__Name=Ordering HTTP Check
  328. - HealthChecks-UI__HealthChecks__8__Uri=http://ordering.api/hc
  329. - HealthChecks-UI__HealthChecks__9__Name=Ordering HTTP Background Check
  330. - HealthChecks-UI__HealthChecks__9__Uri=http://ordering.backgroundtasks/hc
  331. - HealthChecks-UI__HealthChecks__10__Name=Basket HTTP Check
  332. - HealthChecks-UI__HealthChecks__10__Uri=http://basket.api/hc
  333. - HealthChecks-UI__HealthChecks__11__Name=Catalog HTTP Check
  334. - HealthChecks-UI__HealthChecks__11__Uri=http://catalog.api/hc
  335. - HealthChecks-UI__HealthChecks__12__Name=Identity HTTP Check
  336. - HealthChecks-UI__HealthChecks__12__Uri=http://identity.api/hc
  337. - HealthChecks-UI__HealthChecks__13__Name=Marketing HTTP Check
  338. - HealthChecks-UI__HealthChecks__13__Uri=http://marketing.api/hc
  339. - HealthChecks-UI__HealthChecks__14__Name=Locations HTTP Check
  340. - HealthChecks-UI__HealthChecks__14__Uri=http://locations.api/hc
  341. - HealthChecks-UI__HealthChecks__15__Name=Payments HTTP Check
  342. - HealthChecks-UI__HealthChecks__15__Uri=http://payment.api/hc
  343. - HealthChecks-UI__HealthChecks__16__Name=Ordering SignalRHub HTTP Check
  344. - HealthChecks-UI__HealthChecks__16__Uri=http://ordering.signalrhub/hc
  345. - OrderingBackgroundTasksUrl=http://ordering.backgroundtasks/hc
  346. - ApplicationInsights__InstrumentationKey=${INSTRUMENTATION_KEY}
  347. - OrchestratorType=${ORCHESTRATOR_TYPE}
  348. ports:
  349. - "5107:80"
  350. webspa:
  351. environment:
  352. - ASPNETCORE_ENVIRONMENT=Development
  353. - ASPNETCORE_URLS=http://0.0.0.0:80
  354. - IdentityUrl=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5105 #Local: You need to open your local dev-machine firewall at range 5100-5105. at range 5100-5105.
  355. - PurchaseUrl=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5202
  356. - MarketingUrl=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5203
  357. - PurchaseUrlHC=http://webshoppingapigw/hc
  358. - MarketingUrlHC=http://webmarketingapigw/hc
  359. - IdentityUrlHC=http://identity.api/hc
  360. - UseCustomizationData=True
  361. - ApplicationInsights__InstrumentationKey=${INSTRUMENTATION_KEY}
  362. - OrchestratorType=${ORCHESTRATOR_TYPE}
  363. - SignalrHubUrl=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5202
  364. ports:
  365. - "5104:80"
  366. webmvc:
  367. environment:
  368. - ASPNETCORE_ENVIRONMENT=Development
  369. - ASPNETCORE_URLS=http://0.0.0.0:80
  370. - PurchaseUrl=http://webshoppingapigw
  371. - IdentityUrl=http://10.0.75.1:5105 # Local Mac: Use http://docker.for.mac.localhost:5105 || Local Windows: Use 10.0.75.1 in a "Docker for Windows" environment, if using "localhost" from browser. || #Remote access: Use ${ESHOP_EXTERNAL_DNS_NAME_OR_IP} if using external IP or DNS name from browser.
  372. - MarketingUrl=http://webmarketingapigw
  373. - SignalrHubUrl=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5202
  374. - IdentityUrlHC=http://identity.api/hc
  375. - PurchaseUrlHC=http://webshoppingapigw/hc
  376. - MarketingUrlHC=http://webmarketingapigw/hc
  377. - UseCustomizationData=True
  378. - ApplicationInsights__InstrumentationKey=${INSTRUMENTATION_KEY}
  379. - OrchestratorType=${ORCHESTRATOR_TYPE}
  380. - UseLoadTest=${USE_LOADTEST:-False}
  381. ports:
  382. - "5100:80"
  383. webhooks.client:
  384. environment:
  385. - ASPNETCORE_URLS=http://0.0.0.0:80
  386. - Token=6168DB8D-DC58-4094-AF24-483278923590 # Webhooks are registered with this token (any value is valid) but the client won't check it
  387. - IdentityUrl=http://10.0.75.1:5105
  388. - CallBackUrl=http://localhost:5114
  389. - WebhooksUrl=http://webhooks.api
  390. - SelfUrl=http://webhooks.client/
  391. ports:
  392. - "5114:80"
  393. envoy:
  394. volumes:
  395. - ./src/ApiGateways/Envoy/config:/etc/envoy
  396. ports:
  397. - "51051:51051"