From the course: Azure Microservices with .NET Core for Developers

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Creating a Docker Compose script for Azure Service Fabric

Creating a Docker Compose script for Azure Service Fabric - Azure Tutorial

From the course: Azure Microservices with .NET Core for Developers

Start my 1-month free trial

Creating a Docker Compose script for Azure Service Fabric

- [Instructor] Creating the Azure Service Fabric Cluster is just one part of the equation. We need to create a docker composed file for Azure Service Fabric Deployment. This file should be different than the one that we already have because we don't need the build configuration element. For this reason, I created a new file named dockercomposeasf.yml. I'm going to copy all the content from the overwrite file to this new file. To make things a little bit easier I'm going to rename the services. I'll only use the service name and remove the namespaces. So let's rename customers to customers only, orders and products. And of course search as well. Also the ports in this case must be different. For the products, customers, and orders microservices we're going to open port 80 only. So let's change this and I'm going to use this syntax, /http, /http, and 80/http as well. In the case of the search microservice, we want…

Contents