@@ -12,26 +12,33 @@ Within eShopOnContainers root folder, at the folder [..\deploy\az\servicefabric\
1212Edit the following params in ` servicefabricdeploy.parameters.json ` file to set your values:
1313
1414- clusterName: Name of your SF cluster
15+ - clusterLocation: Datacenter location, like westus or westeurope
16+ - computeLocation: Datacenter location, like westus or westeurope
17+ - adminUserName: user-name for VMs administration
18+ - adminPassword: user-password for VMs administration
1519- dnsName: Name assigned to your SF dns
16- - adminUserName: user name for administration
17- - adminPassword: user password for administration
1820
19- Optionally, you can modify which ports are opened in the LoadBalancer for accessing externally to the apps:
20-
21- - webMvcHttpPort: port externally exposed for the WebMVC app
22- - webSpaHttpPort: port externally exposed for the WebSPA app
23- - webStatusHttpPort: port externally exposed for the WebStatus app
24- - IdSrvHttpRule: port externally exposed for the Identity app
21+ Optionally, you could modify which ports are opened in the LoadBalancer for the multiple eShopOnContainer apps and API services.
22+ By default, they are setup as:
23+ - webMvcHttpPort: 5100
24+ - webSpaHttpPort: 5104
25+ - webStatusHttpPort: 5107
26+ - IdSrvHttpRule: 5105
27+ - BasketApiHttpRule: 5103
28+ - CatalogApiHttpRule: 5101
29+ - OrderingApiHttpRule: 5102
30+ - MarketingApiHttpRule: 5110
31+ - LocationsApiHttpRule: 5109
2532
2633## Deploy the template
2734
2835Once parameter file is edited you can deploy it using [ create-resources script] ( ../readme.md ) .
2936
30- i. e. if you are in windows, to deploy sql databases in a new resourcegroup located in westus, go to ` deploy\az ` folder and type:
31-
37+ For example, to deploy the cluster to a new resourcegroup located in westus, go to ` deploy\az ` folder and type:
3238```
3339create-resources.cmd servicefabric\WindowsContainers\servicefabricdeploy newResourceGroup -c westus
3440```
41+
3542## Deploy eShopOnServiceFabric with Visual Studio.
3643
3744Alternatively, instead of using ARM templates, you can deploy eShop on service fabric directly by publishing the project eShopOnServiceFabric in eShopOnContainers-ServicesAndWebApps.sln with Visual Studio publish tool.
0 commit comments