2017-10-08 13:24:32 -07:00
version : '3'
2016-12-15 14:35:35 -08:00
2017-03-11 14:49:55 -08:00
# The default docker-compose.override file can use the "localhost" as the external name for testing web apps within the same dev machine.
2017-03-11 15:28:57 -08:00
# The ESHOP_EXTERNAL_DNS_NAME_OR_IP environment variable is taken, by default, from the ".env" file defined like:
# ESHOP_EXTERNAL_DNS_NAME_OR_IP=localhost
2017-03-11 14:49:55 -08:00
# but values present in the environment vars at runtime will always override those defined inside the .env file
# 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.
2016-12-15 14:35:35 -08:00
services :
2017-05-08 10:48:06 +02:00
2016-12-15 14:35:35 -08:00
basket.api :
environment :
2017-02-14 18:11:51 +01:00
- ASPNETCORE_ENVIRONMENT=Development
2017-05-11 08:06:40 +02:00
- ASPNETCORE_URLS=http://0.0.0.0:80
2017-06-30 08:59:26 +02:00
- ConnectionString=${ESHOP_AZURE_REDIS_BASKET_DB:-basket.data}
2017-07-07 11:56:57 +02:00
- identityUrl=http://identity.api #Local : You need to open your local dev-machine firewall at range 5100-5110.
2017-07-12 12:10:10 +02:00
- IdentityUrlExternal=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5105
2017-05-29 15:42:09 +02:00
- EventBusConnection=${ESHOP_AZURE_SERVICE_BUS:-rabbitmq}
2017-09-05 15:55:17 +02:00
- EventBusUserName=${ESHOP_SERVICE_BUS_USERNAME}
- EventBusPassword=${ESHOP_SERVICE_BUS_PASSWORD}
2017-08-03 13:06:57 +02:00
- AzureServiceBusEnabled=False
2017-10-11 16:26:44 +02:00
- ApplicationInsights__InstrumentationKey=${INSTRUMENTATION_KEY}
2016-12-15 14:35:35 -08:00
ports :
2017-05-11 08:06:40 +02:00
- "5103:80"
2016-12-15 14:35:35 -08:00
catalog.api :
environment :
2017-02-14 18:11:51 +01:00
- ASPNETCORE_ENVIRONMENT=Development
2017-05-11 08:06:40 +02:00
- ASPNETCORE_URLS=http://0.0.0.0:80
2017-06-30 08:59:26 +02:00
- ConnectionString=${ESHOP_AZURE_CATALOG_DB:-Server=sql.data;Database=Microsoft.eShopOnContainers.Services.CatalogDb;User Id=sa;Password=Pass@word}
2017-08-14 13:32:36 -07:00
- PicBaseUrl=${ESHOP_AZURE_STORAGE_CATALOG_URL:-http://localhost:5101/api/v1/catalog/items/[0]/pic/} #Local: You need to open your local dev-machine firewall at range 5100-5110.
2017-05-29 15:42:09 +02:00
- EventBusConnection=${ESHOP_AZURE_SERVICE_BUS:-rabbitmq}
2017-09-05 15:55:17 +02:00
- EventBusUserName=${ESHOP_SERVICE_BUS_USERNAME}
- EventBusPassword=${ESHOP_SERVICE_BUS_PASSWORD}
2017-07-07 12:22:48 +02:00
- AzureStorageAccountName=${ESHOP_AZURE_STORAGE_CATALOG_NAME}
- AzureStorageAccountKey=${ESHOP_AZURE_STORAGE_CATALOG_KEY}
2017-06-20 12:54:32 -07:00
- UseCustomizationData=True
2017-08-03 13:06:57 +02:00
- AzureServiceBusEnabled=False
2017-08-14 10:44:43 -07:00
- AzureStorageEnabled=False
2017-10-11 16:26:44 +02:00
- ApplicationInsights__InstrumentationKey=${INSTRUMENTATION_KEY}
2016-12-15 14:35:35 -08:00
ports :
2017-05-11 08:06:40 +02:00
- "5101:80"
2016-12-15 14:35:35 -08:00
2017-02-14 18:11:51 +01:00
identity.api :
environment :
- ASPNETCORE_ENVIRONMENT=Development
2017-05-11 08:06:40 +02:00
- ASPNETCORE_URLS=http://0.0.0.0:80
2017-03-11 14:49:55 -08:00
- SpaClient=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5104
2017-04-05 15:53:04 +02:00
- 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
2017-09-08 12:12:49 +02:00
- ConnectionString=${ESHOP_AZURE_IDENTITY_DB:-Server=sql.data;Database=Microsoft.eShopOnContainers.Service.IdentityDb;User Id=sa;Password=Pass@word}
2017-07-12 12:10:10 +02:00
- MvcClient=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5100 #Local: You need to open your local dev-machine firewall at range 5100-5110.
- LocationApiClient=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5109
- MarketingApiClient=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5110
- BasketApiClient=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5103
- OrderingApiClient=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5102
2017-10-11 16:26:44 +02:00
- UseCustomizationData=True
- ApplicationInsights__InstrumentationKey=${INSTRUMENTATION_KEY}
2017-02-14 18:11:51 +01:00
ports :
2017-05-11 08:06:40 +02:00
- "5105:80"
2017-02-14 18:11:51 +01:00
2016-12-19 10:20:02 +01:00
ordering.api :
environment :
2017-02-14 18:11:51 +01:00
- ASPNETCORE_ENVIRONMENT=Development
2017-05-11 08:06:40 +02:00
- ASPNETCORE_URLS=http://0.0.0.0:80
2017-06-30 08:59:26 +02:00
- ConnectionString=${ESHOP_AZURE_ORDERING_DB:-Server=sql.data;Database=Microsoft.eShopOnContainers.Services.OrderingDb;User Id=sa;Password=Pass@word}
2017-07-07 11:56:57 +02:00
- identityUrl=http://identity.api #Local : You need to open your local dev-machine firewall at range 5100-5110.
2017-07-12 12:10:10 +02:00
- IdentityUrlExternal=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5105
2017-05-29 15:42:09 +02:00
- EventBusConnection=${ESHOP_AZURE_SERVICE_BUS:-rabbitmq}
2017-09-05 15:55:17 +02:00
- EventBusUserName=${ESHOP_SERVICE_BUS_USERNAME}
- EventBusPassword=${ESHOP_SERVICE_BUS_PASSWORD}
2017-06-20 12:54:32 -07:00
- UseCustomizationData=True
2017-08-03 13:06:57 +02:00
- AzureServiceBusEnabled=False
2017-08-29 18:11:30 +02:00
- CheckUpdateTime=30000
2017-09-19 12:47:29 +02:00
- GracePeriodTime=1
2017-10-11 16:26:44 +02:00
- ApplicationInsights__InstrumentationKey=${INSTRUMENTATION_KEY}
2016-12-19 10:20:02 +01:00
ports :
2017-05-11 08:06:40 +02:00
- "5102:80"
2016-12-15 14:35:35 -08:00
2017-06-01 20:15:21 +02:00
marketing.api :
environment :
- ASPNETCORE_ENVIRONMENT=Development
- ASPNETCORE_URLS=http://0.0.0.0:80
2017-06-30 08:59:26 +02:00
- ConnectionString=${ESHOP_AZURE_MARKETING_DB:-Server=sql.data;Database=Microsoft.eShopOnContainers.Services.MarketingDb;User Id=sa;Password=Pass@word}
- MongoConnectionString=${ESHOP_AZURE_COSMOSDB:-mongodb://nosql.data}
2017-06-13 17:31:37 +02:00
- MongoDatabase=MarketingDb
2017-06-30 08:59:26 +02:00
- EventBusConnection=${ESHOP_AZURE_SERVICE_BUS:-rabbitmq}
2017-09-05 15:55:17 +02:00
- EventBusUserName=${ESHOP_SERVICE_BUS_USERNAME}
- EventBusPassword=${ESHOP_SERVICE_BUS_PASSWORD}
2017-07-07 11:56:57 +02:00
- identityUrl=http://identity.api #Local : You need to open your local dev-machine firewall at range 5100-5110.
2017-07-12 12:10:10 +02:00
- IdentityUrlExternal=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5105
2017-06-30 08:59:26 +02:00
- CampaignDetailFunctionUri=${ESHOP_AZUREFUNC_CAMPAIGN_DETAILS_URI}
2017-08-14 13:32:36 -07:00
- PicBaseUrl=${ESHOP_AZURE_STORAGE_MARKETING_URL:-http://localhost:5110/api/v1/campaigns/[0]/pic/}
2017-07-07 11:56:57 +02:00
- AzureStorageAccountName=${ESHOP_AZURE_STORAGE_MARKETING_NAME}
- AzureStorageAccountKey=${ESHOP_AZURE_STORAGE_MARKETING_KEY}
2017-08-03 13:06:57 +02:00
- AzureServiceBusEnabled=False
2017-08-14 10:44:43 -07:00
- AzureStorageEnabled=False
2017-10-11 16:26:44 +02:00
- ApplicationInsights__InstrumentationKey=${INSTRUMENTATION_KEY}
2017-06-01 20:15:21 +02:00
ports :
- "5110:80"
2017-07-13 14:18:10 -07:00
2017-02-15 10:44:59 -05:00
webspa :
2017-02-17 13:26:42 +01:00
environment :
- ASPNETCORE_ENVIRONMENT=Development
2017-05-11 08:06:40 +02:00
- ASPNETCORE_URLS=http://0.0.0.0:80
2017-03-11 14:49:55 -08:00
- CatalogUrl=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5101
- OrderingUrl=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5102
- 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.
2017-05-10 15:01:02 +02:00
- BasketUrl=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5103
2017-06-15 02:20:33 +02:00
- MarketingUrl=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5110
2017-09-15 13:54:48 +02:00
- LocationsUrl=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5109
2017-05-11 08:06:40 +02:00
- CatalogUrlHC=http://catalog.api/hc
- OrderingUrlHC=http://ordering.api/hc
- IdentityUrlHC=http://identity.api/hc #Local : Use ${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP}, if using external IP or DNS name from browser.
- BasketUrlHC=http://basket.api/hc
2017-07-04 11:27:16 +02:00
- MarketingUrlHC=http://marketing.api/hc
2017-09-29 11:45:25 +02:00
- PaymentUrlHC=http://payment.api/hc
2017-06-20 12:54:32 -07:00
- UseCustomizationData=True
2017-10-11 16:26:44 +02:00
- ApplicationInsights__InstrumentationKey=${INSTRUMENTATION_KEY}
2017-02-17 13:26:42 +01:00
ports :
2017-05-11 08:06:40 +02:00
- "5104:80"
2017-02-14 18:11:51 +01:00
webmvc :
environment :
- ASPNETCORE_ENVIRONMENT=Development
2017-05-11 08:06:40 +02:00
- ASPNETCORE_URLS=http://0.0.0.0:80
- CatalogUrl=http://catalog.api
- OrderingUrl=http://ordering.api
- BasketUrl=http://basket.api
2017-09-15 13:54:48 +02:00
- LocationsUrl=http://locations.api
2017-06-15 19:22:47 +02:00
- IdentityUrl=http://10.0.75.1:5105
2017-09-29 11:45:25 +02:00
- MarketingUrl=http://marketing.api #Local : Use 10.0.75.1 in a "Docker for Windows" environment, if using "localhost" from browser. #Remote: Use ${ESHOP_EXTERNAL_DNS_NAME_OR_IP} if using external IP or DNS name from browser.
- CatalogUrlHC=http://catalog.api/hc
- OrderingUrlHC=http://ordering.api/hc
- IdentityUrlHC=http://identity.api/hc #Local : Use ${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP}, if using external IP or DNS name from browser.
- BasketUrlHC=http://basket.api/hc
- MarketingUrlHC=http://marketing.api/hc
- PaymentUrlHC=http://payment.api/hc
2017-06-28 12:20:20 +02:00
- UseCustomizationData=True
2017-10-11 16:26:44 +02:00
- ApplicationInsights__InstrumentationKey=${INSTRUMENTATION_KEY}
2017-02-14 18:11:51 +01:00
ports :
2017-05-11 08:06:40 +02:00
- "5100:80"
2016-12-15 14:35:35 -08:00
2017-03-23 19:10:55 +01:00
webstatus :
environment :
- ASPNETCORE_ENVIRONMENT=Development
2017-05-11 08:06:40 +02:00
- ASPNETCORE_URLS=http://0.0.0.0:80
- CatalogUrl=http://catalog.api/hc
- OrderingUrl=http://ordering.api/hc
- BasketUrl=http://basket.api/hc
- IdentityUrl=http://identity.api/hc
2017-07-04 11:27:16 +02:00
- LocationsUrl=http://locations.api/hc
- MarketingUrl=http://marketing.api/hc
2017-09-06 14:36:22 +03:00
- PaymentUrl=http://payment.api/hc
2017-05-11 08:06:40 +02:00
- mvc=http://webmvc/hc
- spa=http://webspa/hc
2017-10-11 16:26:44 +02:00
- ApplicationInsights__InstrumentationKey=${INSTRUMENTATION_KEY}
2017-03-23 19:10:55 +01:00
ports :
2017-05-11 08:06:40 +02:00
- "5107:80"
2017-05-30 15:01:58 +02:00
2017-04-28 15:04:38 +02:00
payment.api :
environment :
- ASPNETCORE_ENVIRONMENT=Development
2017-07-12 12:10:10 +02:00
- ASPNETCORE_URLS=http://0.0.0.0:80
2017-06-30 08:59:26 +02:00
- EventBusConnection=${ESHOP_AZURE_SERVICE_BUS:-rabbitmq}
2017-09-05 15:55:17 +02:00
- EventBusUserName=${ESHOP_SERVICE_BUS_USERNAME}
- EventBusPassword=${ESHOP_SERVICE_BUS_PASSWORD}
2017-08-03 13:06:57 +02:00
- AzureServiceBusEnabled=False
2017-10-11 16:26:44 +02:00
- ApplicationInsights__InstrumentationKey=${INSTRUMENTATION_KEY}
2017-04-28 15:04:38 +02:00
ports :
2017-05-18 15:39:31 +02:00
- "5108:80"
2017-06-12 13:52:23 +02:00
2017-05-30 15:01:58 +02:00
locations.api :
environment :
- ASPNETCORE_ENVIRONMENT=Development
- ASPNETCORE_URLS=http://0.0.0.0:80
2017-06-30 08:59:26 +02:00
- ConnectionString=${ESHOP_AZURE_COSMOSDB:-mongodb://nosql.data}
2017-06-08 17:33:55 +02:00
- Database=LocationsDb
2017-07-07 11:56:57 +02:00
- identityUrl=http://identity.api #Local : You need to open your local dev-machine firewall at range 5100-5110.
2017-07-12 12:10:10 +02:00
- IdentityUrlExternal=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5105
2017-06-30 08:59:26 +02:00
- EventBusConnection=${ESHOP_AZURE_SERVICE_BUS:-rabbitmq}
2017-09-05 15:55:17 +02:00
- EventBusUserName=${ESHOP_SERVICE_BUS_USERNAME}
- EventBusPassword=${ESHOP_SERVICE_BUS_PASSWORD}
2017-08-03 13:06:57 +02:00
- AzureServiceBusEnabled=False
2017-10-11 16:26:44 +02:00
- ApplicationInsights__InstrumentationKey=${INSTRUMENTATION_KEY}
2017-05-30 15:01:58 +02:00
ports :
2017-06-12 13:52:23 +02:00
- "5109:80"
2017-08-14 17:35:56 -07:00
sql.data :
environment :
2017-10-04 13:54:34 -07:00
- MSSQL_SA_PASSWORD=Pass@word
2017-08-14 17:35:56 -07:00
- ACCEPT_EULA=Y
2017-09-05 15:35:28 -07:00
- MSSQL_PID=Developer
2017-08-14 17:35:56 -07:00
ports :
- "5433:1433"
nosql.data :
ports :
- "27017:27017"