@@ -12,19 +12,25 @@ services:
1212 environment :
1313 - ASPNETCORE_ENVIRONMENT=Development
1414 - ASPNETCORE_URLS=http://0.0.0.0:80
15- - ConnectionString=basket.data
16- - identityUrl=http://identity.api # Local: You need to open your local dev-machine firewall at range 5100-5105. at range 5100-5105.
17- - EventBusConnection=rabbitmq
15+ - ConnectionString=${ESHOP_AZURE_REDIS_BASKET_DB:-basket.data}
16+ - identityUrl=http://identity.api # Local: You need to open your local dev-machine firewall at range 5100-5110.
17+ - IdentityUrlExternal=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5105
18+ - EventBusConnection=${ESHOP_AZURE_SERVICE_BUS:-rabbitmq}
19+ - AzureServiceBusEnabled=False
1820 ports :
1921 - " 5103:80"
2022
2123 catalog.api :
2224 environment :
2325 - ASPNETCORE_ENVIRONMENT=Development
2426 - ASPNETCORE_URLS=http://0.0.0.0:80
25- - ConnectionString=Server=sql.data;Database=Microsoft.eShopOnContainers.Services.CatalogDb;User Id=sa;Password=Pass@word
26- - 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.
27- - EventBusConnection=rabbitmq
27+ - ConnectionString=${ESHOP_AZURE_CATALOG_DB:-Server=sql.data;Database=Microsoft.eShopOnContainers.Services.CatalogDb;User Id=sa;Password=Pass@word}
28+ - PicBaseUrl=${ESHOP_AZURE_STORAGE_CATALOG:-http://localhost:5101/api/v1/catalog/items/[0]/pic/} # Local: You need to open your local dev-machine firewall at range 5100-5110.
29+ - EventBusConnection=${ESHOP_AZURE_SERVICE_BUS:-rabbitmq}
30+ - AzureStorageAccountName=${ESHOP_AZURE_STORAGE_CATALOG_NAME}
31+ - AzureStorageAccountKey=${ESHOP_AZURE_STORAGE_CATALOG_KEY}
32+ - UseCustomizationData=True
33+ - AzureServiceBusEnabled=False
2834 ports :
2935 - " 5101:80"
3036
@@ -33,18 +39,27 @@ services:
3339 - ASPNETCORE_ENVIRONMENT=Development
3440 - ASPNETCORE_URLS=http://0.0.0.0:80
3541 - SpaClient=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5104
36- - ConnectionStrings__DefaultConnection=Server=sql.data;Database=Microsoft.eShopOnContainers.Service.IdentityDb;User Id=sa;Password=Pass@word
37- - MvcClient=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5100 # Local: You need to open your local dev-machine firewall at range 5100-5105.
42+ - 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
43+ - ConnectionStrings__DefaultConnection=${ESHOP_AZURE_IDENTITY_DB:-Server=sql.data;Database=Microsoft.eShopOnContainers.Service.IdentityDb;User Id=sa;Password=Pass@word}
44+ - MvcClient=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5100 # Local: You need to open your local dev-machine firewall at range 5100-5110.
45+ - LocationApiClient=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5109
46+ - MarketingApiClient=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5110
47+ - BasketApiClient=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5103
48+ - OrderingApiClient=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5102
49+ - UseCustomizationData=True
3850 ports :
3951 - " 5105:80"
4052
4153 ordering.api :
4254 environment :
4355 - ASPNETCORE_ENVIRONMENT=Development
4456 - ASPNETCORE_URLS=http://0.0.0.0:80
45- - ConnectionString=Server=sql.data;Database=Microsoft.eShopOnContainers.Services.OrderingDb;User Id=sa;Password=Pass@word
46- - identityUrl=http://identity.api # Local: You need to open your local dev-machine firewall at range 5100-5105. at range 5100-5105.
47- - EventBusConnection=rabbitmq
57+ - ConnectionString=${ESHOP_AZURE_ORDERING_DB:-Server=sql.data;Database=Microsoft.eShopOnContainers.Services.OrderingDb;User Id=sa;Password=Pass@word}
58+ - identityUrl=http://identity.api # Local: You need to open your local dev-machine firewall at range 5100-5110.
59+ - IdentityUrlExternal=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5105
60+ - EventBusConnection=${ESHOP_AZURE_SERVICE_BUS:-rabbitmq}
61+ - UseCustomizationData=True
62+ - AzureServiceBusEnabled=False
4863 ports :
4964 - " 5102:80"
5065
@@ -55,11 +70,14 @@ services:
5570 - CatalogUrl=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5101
5671 - OrderingUrl=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5102
5772 - 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.
58- - BasketUrl=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5103
73+ - BasketUrl=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5103
74+ - MarketingUrl=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5110
5975 - CatalogUrlHC=http://catalog.api/hc
6076 - OrderingUrlHC=http://ordering.api/hc
6177 - IdentityUrlHC=http://identity.api/hc # Local: Use ${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP}, if using external IP or DNS name from browser.
62- - BasketUrlHC=http://basket.api/hc
78+ - BasketUrlHC=http://basket.api/hc
79+ - MarketingUrlHC=http://marketing.api/hc
80+ - UseCustomizationData=True
6381 ports :
6482 - " 5104:80"
6583
@@ -70,8 +88,9 @@ services:
7088 - CatalogUrl=http://catalog.api
7189 - OrderingUrl=http://ordering.api
7290 - BasketUrl=http://basket.api
73- - IdentityUrl=http://10.0.75.1:5105 # Local: Use 10.0.75.1 in a "Docker for Windows" environment, if using "localhost" from browser.
74- # Remote: Use ${ESHOP_EXTERNAL_DNS_NAME_OR_IP} if using external IP or DNS name from browser.
91+ - IdentityUrl=http://10.0.75.1:5105
92+ - MarketingUrl=http://marketing.api # Local: Use 10.0.75.1 in a "Docker for Windows" environment, if using "localhost" from browser.
93+ - UseCustomizationData=True # Remote: Use ${ESHOP_EXTERNAL_DNS_NAME_OR_IP} if using external IP or DNS name from browser.
7594 ports :
7695 - " 5100:80"
7796
@@ -90,21 +109,61 @@ services:
90109 environment :
91110 - ASPNETCORE_ENVIRONMENT=Development
92111 - ASPNETCORE_URLS=http://0.0.0.0:80
93- - ConnectionString=mongodb://nosql.data
112+ - ConnectionString=${ESHOP_AZURE_COSMOSDB:- mongodb://nosql.data}
94113 - Database=LocationsDb
95- - identityUrl=http://identity.api # Local: You need to open your local dev-machine firewall at range 5100-5105. at range 5100-5105.
96- - EventBusConnection=rabbitmq
114+ - identityUrl=http://identity.api # Local: You need to open your local dev-machine firewall at range 5100-5110.
115+ - IdentityUrlExternal=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5105
116+ - EventBusConnection=${ESHOP_AZURE_SERVICE_BUS:-rabbitmq}
117+ - AzureServiceBusEnabled=False
97118 ports :
98119 - " 5109:80"
99120
100121 marketing.api :
101122 environment :
102123 - ASPNETCORE_ENVIRONMENT=Development
103124 - ASPNETCORE_URLS=http://0.0.0.0:80
104- - ConnectionString=Server=sql.data;Database=Microsoft.eShopOnContainers.Services.MarketingDb;User Id=sa;Password=Pass@word
105- - EventBusConnection=rabbitmq
106- - MongoConnectionString=mongodb://nosql.data
125+ - ConnectionString=${ESHOP_AZURE_MARKETING_DB:-Server=sql.data;Database=Microsoft.eShopOnContainers.Services.MarketingDb;User Id=sa;Password=Pass@word}
126+ - MongoConnectionString=${ESHOP_AZURE_COSMOSDB:-mongodb://nosql.data}
107127 - MongoDatabase=MarketingDb
108- - identityUrl=http://identity.api # Local: You need to open your local dev-machine firewall at range 5100-5105. at range 5100-5105.
128+ - EventBusConnection=${ESHOP_AZURE_SERVICE_BUS:-rabbitmq}
129+ - identityUrl=http://identity.api # Local: You need to open your local dev-machine firewall at range 5100-5110.
130+ - IdentityUrlExternal=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5105
131+ - CampaignDetailFunctionUri=${ESHOP_AZUREFUNC_CAMPAIGN_DETAILS_URI}
132+ - PicBaseUrl=${ESHOP_AZURE_STORAGE_MARKETING:-http://localhost:5110/api/v1/campaigns/[0]/pic/}
133+ - AzureStorageAccountName=${ESHOP_AZURE_STORAGE_MARKETING_NAME}
134+ - AzureStorageAccountKey=${ESHOP_AZURE_STORAGE_MARKETING_KEY}
135+ - AzureServiceBusEnabled=False
136+ ports :
137+ - " 5110:80"
138+
139+ graceperiodmanager :
140+ environment :
141+ - ASPNETCORE_ENVIRONMENT=Development
142+ - ASPNETCORE_URLS=http://0.0.0.0:80
143+ - ConnectionString=Server=sql.data;Database=Microsoft.eShopOnContainers.Services.OrderingDb;User Id=sa;Password=Pass@word
144+ - EventBusConnection=${ESHOP_AZURE_SERVICE_BUS:-rabbitmq}
145+ - AzureServiceBusEnabled=False
146+
147+ webstatus :
148+ environment :
149+ - ASPNETCORE_ENVIRONMENT=Development
150+ - ASPNETCORE_URLS=http://0.0.0.0:80
151+ - CatalogUrl=http://catalog.api/hc
152+ - OrderingUrl=http://ordering.api/hc
153+ - BasketUrl=http://basket.api/hc
154+ - IdentityUrl=http://identity.api/hc
155+ - LocationsUrl=http://locations.api/hc
156+ - MarketingUrl=http://marketing.api/hc
157+ - mvc=http://webmvc/hc
158+ - spa=http://webspa/hc
159+ ports :
160+ - " 5107:80"
161+
162+ payment.api :
163+ environment :
164+ - ASPNETCORE_ENVIRONMENT=Development
165+ - ASPNETCORE_URLS=http://0.0.0.0:80
166+ - EventBusConnection=${ESHOP_AZURE_SERVICE_BUS:-rabbitmq}
167+ - AzureServiceBusEnabled=False
109168 ports :
110- - " 5110 :80"
169+ - " 5108 :80"
0 commit comments