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.

417 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. - ASPNETCORE_URLS=http://0.0.0.0:80
  71. - ConnectionString=${ESHOP_AZURE_CATALOG_DB:-Server=sql.data;Database=Microsoft.eShopOnContainers.Services.CatalogDb;User Id=sa;Password=Pass@word}
  72. - 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.
  73. - EventBusConnection=${ESHOP_AZURE_SERVICE_BUS:-rabbitmq}
  74. - EventBusUserName=${ESHOP_SERVICE_BUS_USERNAME}
  75. - EventBusPassword=${ESHOP_SERVICE_BUS_PASSWORD}
  76. - AzureStorageAccountName=${ESHOP_AZURE_STORAGE_CATALOG_NAME}
  77. - AzureStorageAccountKey=${ESHOP_AZURE_STORAGE_CATALOG_KEY}
  78. - UseCustomizationData=True
  79. - AzureServiceBusEnabled=False
  80. - AzureStorageEnabled=False
  81. - ApplicationInsights__InstrumentationKey=${INSTRUMENTATION_KEY}
  82. - OrchestratorType=${ORCHESTRATOR_TYPE}
  83. ports:
  84. - "5101:80" # Important: In a production environment your should remove the external port (5101) kept here for microservice debugging purposes.
  85. # The API Gateway redirects and access through the internal port (80).
  86. ordering.api:
  87. environment:
  88. - ASPNETCORE_ENVIRONMENT=Development
  89. - ASPNETCORE_URLS=http://0.0.0.0:80
  90. - ConnectionString=${ESHOP_AZURE_ORDERING_DB:-Server=sql.data;Database=Microsoft.eShopOnContainers.Services.OrderingDb;User Id=sa;Password=Pass@word}
  91. - identityUrl=http://identity.api #Local: You need to open your local dev-machine firewall at range 5100-5110.
  92. - IdentityUrlExternal=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5105
  93. - EventBusConnection=${ESHOP_AZURE_SERVICE_BUS:-rabbitmq}
  94. - EventBusUserName=${ESHOP_SERVICE_BUS_USERNAME}
  95. - EventBusPassword=${ESHOP_SERVICE_BUS_PASSWORD}
  96. - UseCustomizationData=True
  97. - AzureServiceBusEnabled=False
  98. - CheckUpdateTime=30000
  99. - ApplicationInsights__InstrumentationKey=${INSTRUMENTATION_KEY}
  100. - OrchestratorType=${ORCHESTRATOR_TYPE}
  101. - UseLoadTest=${USE_LOADTEST:-False}
  102. - Serilog__MinimumLevel__Override__Microsoft.eShopOnContainers.BuildingBlocks.EventBusRabbitMQ=Verbose
  103. - Serilog__MinimumLevel__Override__Ordering.API=Verbose
  104. ports:
  105. - "5102:80" # Important: In a production environment your should remove the external port (5102) kept here for microservice debugging purposes.
  106. # The API Gateway redirects and access through the internal port (80).
  107. ordering.backgroundtasks:
  108. environment:
  109. - ASPNETCORE_ENVIRONMENT=Development
  110. - ASPNETCORE_URLS=http://0.0.0.0:80
  111. - ConnectionString=${ESHOP_AZURE_ORDERING_DB:-Server=sql.data;Database=Microsoft.eShopOnContainers.Services.OrderingDb;User Id=sa;Password=Pass@word}
  112. - EventBusConnection=${ESHOP_AZURE_SERVICE_BUS:-rabbitmq}
  113. - EventBusUserName=${ESHOP_SERVICE_BUS_USERNAME}
  114. - EventBusPassword=${ESHOP_SERVICE_BUS_PASSWORD}
  115. - UseCustomizationData=True
  116. - AzureServiceBusEnabled=False
  117. - CheckUpdateTime=30000
  118. - GracePeriodTime=1
  119. - ApplicationInsights__InstrumentationKey=${INSTRUMENTATION_KEY}
  120. - OrchestratorType=${ORCHESTRATOR_TYPE}
  121. - UseLoadTest=${USE_LOADTEST:-False}
  122. - Serilog__MinimumLevel__Override__Microsoft.eShopOnContainers.BuildingBlocks.EventBusRabbitMQ=Verbose
  123. ports:
  124. - "5111:80"
  125. marketing.api:
  126. environment:
  127. - ASPNETCORE_ENVIRONMENT=Development
  128. - ASPNETCORE_URLS=http://0.0.0.0:80
  129. - ConnectionString=${ESHOP_AZURE_MARKETING_DB:-Server=sql.data;Database=Microsoft.eShopOnContainers.Services.MarketingDb;User Id=sa;Password=Pass@word}
  130. - MongoConnectionString=${ESHOP_AZURE_COSMOSDB:-mongodb://nosql.data}
  131. - MongoDatabase=MarketingDb
  132. - EventBusConnection=${ESHOP_AZURE_SERVICE_BUS:-rabbitmq}
  133. - EventBusUserName=${ESHOP_SERVICE_BUS_USERNAME}
  134. - EventBusPassword=${ESHOP_SERVICE_BUS_PASSWORD}
  135. - identityUrl=http://identity.api #Local: You need to open your local dev-machine firewall at range 5100-5110.
  136. - IdentityUrlExternal=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5105
  137. - CampaignDetailFunctionUri=${ESHOP_AZUREFUNC_CAMPAIGN_DETAILS_URI}
  138. - PicBaseUrl=${ESHOP_AZURE_STORAGE_MARKETING_URL:-http://localhost:5110/api/v1/campaigns/[0]/pic/}
  139. - AzureStorageAccountName=${ESHOP_AZURE_STORAGE_MARKETING_NAME}
  140. - AzureStorageAccountKey=${ESHOP_AZURE_STORAGE_MARKETING_KEY}
  141. - AzureServiceBusEnabled=False
  142. - AzureStorageEnabled=False
  143. - ApplicationInsights__InstrumentationKey=${INSTRUMENTATION_KEY}
  144. - OrchestratorType=${ORCHESTRATOR_TYPE}
  145. - UseLoadTest=${USE_LOADTEST:-False}
  146. ports:
  147. - "5110:80" # Important: In a production environment your should remove the external port (5110) kept here for microservice debugging purposes.
  148. # The API Gateway redirects and access through the internal port (80).
  149. payment.api:
  150. environment:
  151. - ASPNETCORE_ENVIRONMENT=Development
  152. - ASPNETCORE_URLS=http://0.0.0.0:80
  153. - EventBusConnection=${ESHOP_AZURE_SERVICE_BUS:-rabbitmq}
  154. - EventBusUserName=${ESHOP_SERVICE_BUS_USERNAME}
  155. - EventBusPassword=${ESHOP_SERVICE_BUS_PASSWORD}
  156. - AzureServiceBusEnabled=False
  157. - ApplicationInsights__InstrumentationKey=${INSTRUMENTATION_KEY}
  158. - OrchestratorType=${ORCHESTRATOR_TYPE}
  159. - Serilog__MinimumLevel__Override__Payment.API.IntegrationEvents.EventHandling=Verbose
  160. - Serilog__MinimumLevel__Override__Microsoft.eShopOnContainers.BuildingBlocks.EventBusRabbitMQ=Verbose
  161. ports:
  162. - "5108:80" # Important: In a production environment your should remove the external port (5108) kept here for microservice debugging purposes.
  163. # The API Gateway redirects and access through the internal port (80).
  164. locations.api:
  165. environment:
  166. - ASPNETCORE_ENVIRONMENT=Development
  167. - ASPNETCORE_URLS=http://0.0.0.0:80
  168. - ConnectionString=${ESHOP_AZURE_COSMOSDB:-mongodb://nosql.data}
  169. - Database=LocationsDb
  170. - identityUrl=http://identity.api #Local: You need to open your local dev-machine firewall at range 5100-5110.
  171. - IdentityUrlExternal=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5105
  172. - EventBusConnection=${ESHOP_AZURE_SERVICE_BUS:-rabbitmq}
  173. - EventBusUserName=${ESHOP_SERVICE_BUS_USERNAME}
  174. - EventBusPassword=${ESHOP_SERVICE_BUS_PASSWORD}
  175. - AzureServiceBusEnabled=False
  176. - ApplicationInsights__InstrumentationKey=${INSTRUMENTATION_KEY}
  177. - OrchestratorType=${ORCHESTRATOR_TYPE}
  178. - UseLoadTest=${USE_LOADTEST:-False}
  179. ports:
  180. - "5109:80" # Important: In a production environment your should remove the external port (5109) kept here for microservice debugging purposes.
  181. # The API Gateway redirects and access through the internal port (80).
  182. webhooks.api:
  183. environment:
  184. - ASPNETCORE_ENVIRONMENT=Development
  185. - ASPNETCORE_URLS=http://0.0.0.0:80
  186. - ConnectionString=${ESHOP_AZURE_WEBHOOKS_DB:-Server=sql.data;Database=Microsoft.eShopOnContainers.Services.WebhooksDb;User Id=sa;Password=Pass@word}
  187. - EventBusConnection=${ESHOP_AZURE_SERVICE_BUS:-rabbitmq}
  188. - EventBusUserName=${ESHOP_SERVICE_BUS_USERNAME}
  189. - EventBusPassword=${ESHOP_SERVICE_BUS_PASSWORD}
  190. - IdentityUrl=http://identity.api
  191. - IdentityUrlExternal=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5105
  192. ports:
  193. - "5113:80" # Important: In a production environment your should remove the external port (5109) kept here for microservice debugging purposes.
  194. # The API Gateway redirects and access through the internal port (80).
  195. mobileshoppingapigw:
  196. environment:
  197. - ASPNETCORE_ENVIRONMENT=Development
  198. - IdentityUrl=http://identity.api #Local: You need to open your local dev-machine firewall at range 5100-5110.
  199. - urls__basket=http://basket.api
  200. - urls__catalog=http://catalog.api
  201. - urls__orders=http://ordering.api
  202. - urls__identity=http://identity.api
  203. - CatalogUrlHC=http://catalog.api/hc
  204. - OrderingUrlHC=http://ordering.api/hc
  205. - IdentityUrlHC=http://identity.api/hc
  206. - BasketUrlHC=http://basket.api/hc
  207. - MarketingUrlHC=http://marketing.api/hc
  208. - PaymentUrlHC=http://payment.api/hc
  209. - LocationUrlHC=http://locations.api/hc
  210. ports:
  211. - "5200:80"
  212. volumes:
  213. - ./src/ApiGateways/Mobile.Bff.Shopping/apigw:${ESHOP_OCELOT_VOLUME_SPEC:-/app/configuration}
  214. mobilemarketingapigw:
  215. environment:
  216. - ASPNETCORE_ENVIRONMENT=Development
  217. - IdentityUrl=http://identity.api #Local: You need to open your local dev-machine firewall at range 5100-5110.
  218. - CatalogUrlHC=http://catalog.api/hc
  219. - OrderingUrlHC=http://ordering.api/hc
  220. - IdentityUrlHC=http://identity.api/hc
  221. - BasketUrlHC=http://basket.api/hc
  222. - MarketingUrlHC=http://marketing.api/hc
  223. - PaymentUrlHC=http://payment.api/hc
  224. - LocationUrlHC=http://locations.api/hc
  225. ports:
  226. - "5201:80"
  227. volumes:
  228. - ./src/ApiGateways/Mobile.Bff.Marketing/apigw:${ESHOP_OCELOT_VOLUME_SPEC:-/app/configuration}
  229. webshoppingapigw:
  230. environment:
  231. - ASPNETCORE_ENVIRONMENT=Development
  232. - IdentityUrl=http://identity.api #Local: You need to open your local dev-machine firewall at range 5100-5110.
  233. - CatalogUrlHC=http://catalog.api/hc
  234. - OrderingUrlHC=http://ordering.api/hc
  235. - IdentityUrlHC=http://identity.api/hc
  236. - BasketUrlHC=http://basket.api/hc
  237. - MarketingUrlHC=http://marketing.api/hc
  238. - PaymentUrlHC=http://payment.api/hc
  239. - LocationUrlHC=http://locations.api/hc
  240. ports:
  241. - "5202:80"
  242. volumes:
  243. - ./src/ApiGateways/Web.Bff.Shopping/apigw:${ESHOP_OCELOT_VOLUME_SPEC:-/app/configuration}
  244. webmarketingapigw:
  245. environment:
  246. - ASPNETCORE_ENVIRONMENT=Development
  247. - IdentityUrl=http://identity.api #Local: You need to open your local dev-machine firewall at range 5100-5110.
  248. - CatalogUrlHC=http://catalog.api/hc
  249. - OrderingUrlHC=http://ordering.api/hc
  250. - IdentityUrlHC=http://identity.api/hc
  251. - BasketUrlHC=http://basket.api/hc
  252. - MarketingUrlHC=http://marketing.api/hc
  253. - PaymentUrlHC=http://payment.api/hc
  254. - LocationUrlHC=http://locations.api/hc
  255. ports:
  256. - "5203:80"
  257. volumes:
  258. - ./src/ApiGateways/Web.Bff.Marketing/apigw:${ESHOP_OCELOT_VOLUME_SPEC:-/app/configuration}
  259. mobileshoppingagg:
  260. environment:
  261. - ASPNETCORE_ENVIRONMENT=Development
  262. - urls__basket=http://basket.api
  263. - urls__catalog=http://catalog.api
  264. - urls__orders=http://ordering.api
  265. - urls__identity=http://identity.api #Local: You need to open your local dev-machine firewall at range 5100-5110.
  266. - CatalogUrlHC=http://catalog.api/hc
  267. - OrderingUrlHC=http://ordering.api/hc
  268. - IdentityUrlHC=http://identity.api/hc
  269. - BasketUrlHC=http://basket.api/hc
  270. - MarketingUrlHC=http://marketing.api/hc
  271. - PaymentUrlHC=http://payment.api/hc
  272. - LocationUrlHC=http://locations.api/hc
  273. ports:
  274. - "5120:80" # Important: In a production environment your should remove the external port (5120) kept here for microservice debugging purposes.
  275. # The API Gateway redirects and access through the internal port (80).
  276. webshoppingagg:
  277. environment:
  278. - ASPNETCORE_ENVIRONMENT=Development
  279. - urls__basket=http://basket.api
  280. - urls__catalog=http://catalog.api
  281. - urls__orders=http://ordering.api
  282. - urls__identity=http://identity.api #Local: You need to open your local dev-machine firewall at range 5100-5110.
  283. - CatalogUrlHC=http://catalog.api/hc
  284. - OrderingUrlHC=http://ordering.api/hc
  285. - IdentityUrlHC=http://identity.api/hc
  286. - BasketUrlHC=http://basket.api/hc
  287. - MarketingUrlHC=http://marketing.api/hc
  288. - PaymentUrlHC=http://payment.api/hc
  289. - LocationUrlHC=http://locations.api/hc
  290. ports:
  291. - "5121:80" # Important: In a production environment your should remove the external port (5121) kept here for microservice debugging purposes.
  292. # The API Gateway redirects and access through the internal port (80).
  293. ordering.signalrhub:
  294. environment:
  295. - ASPNETCORE_ENVIRONMENT=Development
  296. - ASPNETCORE_URLS=http://0.0.0.0:80
  297. - EventBusConnection=${ESHOP_AZURE_SERVICE_BUS:-rabbitmq}
  298. - EventBusUserName=${ESHOP_SERVICE_BUS_USERNAME}
  299. - EventBusPassword=${ESHOP_SERVICE_BUS_PASSWORD}
  300. - AzureServiceBusEnabled=False
  301. - ApplicationInsights__InstrumentationKey=${INSTRUMENTATION_KEY}
  302. - OrchestratorType=${ORCHESTRATOR_TYPE}
  303. - identityUrl=http://identity.api #Local: You need to open your local dev-machine firewall at range 5100-5110.
  304. ports:
  305. - "5112:80"
  306. webstatus:
  307. environment:
  308. - ASPNETCORE_ENVIRONMENT=Production
  309. - ASPNETCORE_URLS=http://0.0.0.0:80
  310. - HealthChecks-UI__HealthChecks__0__Name=WebMVC HTTP Check
  311. - HealthChecks-UI__HealthChecks__0__Uri=http://webmvc/hc
  312. - HealthChecks-UI__HealthChecks__1__Name=WebSPA HTTP Check
  313. - HealthChecks-UI__HealthChecks__1__Uri=http://webspa/hc
  314. - HealthChecks-UI__HealthChecks__2__Name=Web Shopping Aggregator GW HTTP Check
  315. - HealthChecks-UI__HealthChecks__2__Uri=http://webshoppingagg/hc
  316. - HealthChecks-UI__HealthChecks__3__Name=Mobile Shopping Aggregator HTTP Check
  317. - HealthChecks-UI__HealthChecks__3__Uri=http://mobileshoppingagg/hc
  318. - HealthChecks-UI__HealthChecks__4__Name=Mobile Shopping API GW HTTP Check
  319. - HealthChecks-UI__HealthChecks__4__Uri=http://mobileshoppingapigw/hc
  320. - HealthChecks-UI__HealthChecks__5__Name=Mobile Marketing API GW HTTP Check
  321. - HealthChecks-UI__HealthChecks__5__Uri=http://mobilemarketingapigw/hc
  322. - HealthChecks-UI__HealthChecks__6__Name=Web Shopping API GW HTTP Check
  323. - HealthChecks-UI__HealthChecks__6__Uri=http://webshoppingapigw/hc
  324. - HealthChecks-UI__HealthChecks__7__Name=Web Marketing API GW HTTP Check
  325. - HealthChecks-UI__HealthChecks__7__Uri=http://webmarketingapigw/hc
  326. - HealthChecks-UI__HealthChecks__8__Name=Ordering HTTP Check
  327. - HealthChecks-UI__HealthChecks__8__Uri=http://ordering.api/hc
  328. - HealthChecks-UI__HealthChecks__9__Name=Ordering HTTP Background Check
  329. - HealthChecks-UI__HealthChecks__9__Uri=http://ordering.backgroundtasks/hc
  330. - HealthChecks-UI__HealthChecks__10__Name=Basket HTTP Check
  331. - HealthChecks-UI__HealthChecks__10__Uri=http://basket.api/hc
  332. - HealthChecks-UI__HealthChecks__11__Name=Catalog HTTP Check
  333. - HealthChecks-UI__HealthChecks__11__Uri=http://catalog.api/hc
  334. - HealthChecks-UI__HealthChecks__12__Name=Identity HTTP Check
  335. - HealthChecks-UI__HealthChecks__12__Uri=http://identity.api/hc
  336. - HealthChecks-UI__HealthChecks__13__Name=Marketing HTTP Check
  337. - HealthChecks-UI__HealthChecks__13__Uri=http://marketing.api/hc
  338. - HealthChecks-UI__HealthChecks__14__Name=Locations HTTP Check
  339. - HealthChecks-UI__HealthChecks__14__Uri=http://locations.api/hc
  340. - HealthChecks-UI__HealthChecks__15__Name=Payments HTTP Check
  341. - HealthChecks-UI__HealthChecks__15__Uri=http://payment.api/hc
  342. - HealthChecks-UI__HealthChecks__16__Name=Ordering SignalRHub HTTP Check
  343. - HealthChecks-UI__HealthChecks__16__Uri=http://ordering.signalrhub/hc
  344. - OrderingBackgroundTasksUrl=http://ordering.backgroundtasks/hc
  345. - ApplicationInsights__InstrumentationKey=${INSTRUMENTATION_KEY}
  346. - OrchestratorType=${ORCHESTRATOR_TYPE}
  347. ports:
  348. - "5107:80"
  349. webspa:
  350. environment:
  351. - ASPNETCORE_ENVIRONMENT=Development
  352. - ASPNETCORE_URLS=http://0.0.0.0:80
  353. - 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.
  354. - PurchaseUrl=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5202
  355. - MarketingUrl=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5203
  356. - PurchaseUrlHC=http://webshoppingapigw/hc
  357. - MarketingUrlHC=http://webmarketingapigw/hc
  358. - IdentityUrlHC=http://identity.api/hc
  359. - UseCustomizationData=True
  360. - ApplicationInsights__InstrumentationKey=${INSTRUMENTATION_KEY}
  361. - OrchestratorType=${ORCHESTRATOR_TYPE}
  362. - SignalrHubUrl=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5202
  363. ports:
  364. - "5104:80"
  365. webmvc:
  366. environment:
  367. - ASPNETCORE_ENVIRONMENT=Development
  368. - ASPNETCORE_URLS=http://0.0.0.0:80
  369. - PurchaseUrl=http://webshoppingapigw
  370. - 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.
  371. - MarketingUrl=http://webmarketingapigw
  372. - SignalrHubUrl=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5202
  373. - IdentityUrlHC=http://identity.api/hc
  374. - PurchaseUrlHC=http://webshoppingapigw/hc
  375. - MarketingUrlHC=http://webmarketingapigw/hc
  376. - UseCustomizationData=True
  377. - ApplicationInsights__InstrumentationKey=${INSTRUMENTATION_KEY}
  378. - OrchestratorType=${ORCHESTRATOR_TYPE}
  379. - UseLoadTest=${USE_LOADTEST:-False}
  380. ports:
  381. - "5100:80"
  382. webhooks.client:
  383. environment:
  384. - ASPNETCORE_URLS=http://0.0.0.0:80
  385. - Token=6168DB8D-DC58-4094-AF24-483278923590 # Webhooks are registered with this token (any value is valid) but the client won't check it
  386. - IdentityUrl=http://10.0.75.1:5105
  387. - CallBackUrl=http://localhost:5114
  388. - WebhooksUrl=http://webhooks.api
  389. - SelfUrl=http://webhooks.client/
  390. ports:
  391. - "5114:80"