In this article we will talk about creating a dotnet core worker process and we will run it in a docker container. This article is divided into two parts, in the first part we will create a simple worker process and in the second part we will write the Dockerfile to containerise it. If you already know about creating workers in dotnetcore feel free to skip the first part. Creating the dotnet core worker processs From your favourite shell, execute the following commands:
In this article I am going to talk about how to do a classic 3-tier architecture using docker containers. The 3-tiers will be: Frontend tier: This will host the web application. Middle tier: This will host the api, in our case the REST api. Database tier: This will host the database. We want to expose the web application to the outside world. Simultaneously, we want this layer to be able to talk with the middle tier only not the database tier.