Skip to content

Commit 94a64fd

Browse files
Update readme.md
1 parent c16b112 commit 94a64fd

1 file changed

Lines changed: 18 additions & 10 deletions

File tree

  • deploy/az/servicefabric/LinuxContainers

deploy/az/servicefabric/LinuxContainers/readme.md

Lines changed: 18 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,31 +7,39 @@ Because of those reasons, we have created a set of ARM templates and scripts so
77

88
Within eShopOnContainers root folder, at the folder [..\deploy\az\servicefabric\LinuxContainers](https://github.com/dotnet-architecture/eShopOnContainers/tree/dev/deploy/az/servicefabric/LinuxContainers), you can find the ARM template `servicefabricdeploy.json` and its parameters file (`servicefabricdeploy.parameters.json`) to create a Service Fabric cluster environment for Linux Containers.
99

10-
## Editing servicefabricdeploy.parameters.json file
10+
## Edit the servicefabricdeploy.parameters.json file
1111

1212
Edit 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

2835
Once 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:
37+
For example, to deploy the cluster to a new resourcegroup located in westus, go to `deploy\az` folder and type:
3138

3239
```
3340
create-resources.cmd servicefabric\LinuxContainers\servicefabricdeploy newResourceGroup -c westus
3441
```
42+
3543
## Deploy eShopOnServiceFabric with Visual Studio.
3644

3745
Alternatively, 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

Comments
 (0)