Updated 11. Setting the solution up in Service Fabric (markdown)

RamonTC 2017-09-13 13:36:36 +02:00
parent cfa93a2aa4
commit a8b444796f

@ -1,11 +1,13 @@
### - Deploying eShopOncontainers as Windows Containers to Azure Service Fabric
![test](eShopOnContainers/img/sf/sf-directory.PNG)
In order to deploy eShopOnContainers as Windows Containers an Azure SF environment must be first set. There is available an ARM template to do that job in the following link [SF Win ARM deployment](https://github.com/dotnet-architecture/eShopOnContainers/tree/eShopOnServiceFabric-Win/deploy/az/servicefabric/WindowsContainers). Follow the steps in [create SF](https://github.com/dotnet-architecture/eShopOnContainers/blob/eShopOnServiceFabric-Win/deploy/az/servicefabric/WindowsContainers/readme.md).
The ARM script will generate all the necessary Azure resources to publish eShopOnContainers as windows containers.
Once the SF resources have been successfully created, the next step is to publish the SF projects. These projects are under the directory [SF Directory](https://github.com/dotnet-architecture/eShopOnContainers/tree/eShopOnServiceFabric-Win/ServiceFabric) and contains all the xml config files needed to configure and publish eShopOnContainers. SF is composed by 4 SF apps:
<img src="https://github.com/dotnet-architecture/eShopOnContainers/blob/dev/img/sf/sf-directory.PNG">
<img src="img/sf/sf-directory.PNG">
- eShopOnServiceFabric: contains all the api services consumed by eShop.
- eShopOnServiceFabricIdSrv: contains the Identity server for authentication.