2016-12-15 14:35:35 -08:00
version : '2'
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-02-15 10:44:59 -05: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
2016-12-15 14:35:35 -08:00
- ConnectionString=basket.data
2017-05-11 08:06:40 +02:00
- identityUrl=http://identity.api #Local : You need to open your local dev-machine firewall at range 5100-5105. at range 5100-5105.
2017-03-13 11:03:35 +01:00
- EventBusConnection=rabbitmq
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
2016-12-19 10:20:02 +01:00
- ConnectionString=Server=sql.data;Database=Microsoft.eShopOnContainers.Services.CatalogDb;User Id=sa;Password=Pass@word
2017-03-14 11:50:28 +01:00
- ExternalCatalogBaseUrl=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5101 #Local: You need to open your local dev-machine firewall at range 5100-5105. at range 5100-5105.
2017-03-13 11:03:35 +01:00
- EventBusConnection=rabbitmq
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-03-03 17:33:12 -08:00
- ConnectionStrings__DefaultConnection=Server=sql.data;Database=Microsoft.eShopOnContainers.Service.IdentityDb;User Id=sa;Password=Pass@word
2017-03-11 14:49:55 -08:00
- MvcClient=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5100 #Local: You need to open your local dev-machine firewall at range 5100-5105.
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
2016-12-19 10:20:02 +01:00
- ConnectionString=Server=sql.data;Database=Microsoft.eShopOnContainers.Services.OrderingDb;User Id=sa;Password=Pass@word
2017-05-11 08:06:40 +02:00
- identityUrl=http://identity.api #Local : You need to open your local dev-machine firewall at range 5100-5105. at range 5100-5105.
2017-03-13 11:03:35 +01:00
- EventBusConnection=rabbitmq
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-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-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-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-03-11 14:49:55 -08:00
- IdentityUrl=http://10.0.75.1:5105 #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.
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
2016-12-17 14:41:16 +01:00
sql.data :
2016-12-15 14:35:35 -08:00
environment :
- SA_PASSWORD=Pass@word
- ACCEPT_EULA=Y
ports :
2017-03-23 19:10:55 +01:00
- "5433:1433"
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
- mvc=http://webmvc/hc
- spa=http://webspa/hc
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
locations.api :
environment :
- ASPNETCORE_ENVIRONMENT=Development
- ASPNETCORE_URLS=http://0.0.0.0:80
- ConnectionString=Server=sql.data;Database=Microsoft.eShopOnContainers.Services.LocationsDb;User Id=sa;Password=Pass@word
- identityUrl=http://identity.api #Local : You need to open your local dev-machine firewall at range 5100-5105. at range 5100-5105.
- EventBusConnection=rabbitmq
ports :
- "5109:80"