2019-07-24 12:15:38 +02:00
..
2019-07-23 12:14:09 +02:00
2017-03-20 14:18:20 -04:00
2018-08-29 11:27:03 +02:00
2018-09-20 19:06:18 +02:00
2019-07-23 12:14:09 +02:00
2019-03-13 16:41:49 +01:00
2019-07-24 09:06:46 +02:00
2019-03-20 16:39:09 +01:00
2016-10-21 05:46:30 +02:00
2019-07-24 12:15:38 +02:00

Containerized eShop - Web Mvc

Sample reference containerized application, cross-platform and microservices architecture. Powered by Microsoft

#Overview This sample runs a microservices oriented application and a .net core Mvc application that consumes this services. You can find more information about how to set up docker in your machine in the global directory solution.

#Deploy In the global directory you will find the scripts needed to run and deploy the demo into your local docker infraestructure.

  • build-image-web.ps1 Build .net applications and docker images: This power shell script that you will find in the root directory of the solution is the responsible of building .net applications and package in a pub folder and use docker commands to build the images needed to run the previously packaged .net applications.

  • Compose containers in your docker local VM: Finally you have to open your favourite command tool pointing to the root directory of this project where docker-compose.yml file is located and run the command docker-compose up

#Run Once the deploy process of docker-compose finishes you have to be able to access the services in this urls:

  • Web: http://localhost:5100
  • Catalog service: http://localhost:5101
  • Orders service: http://localhost:5102
  • Basket service: http://localhost:5103
  • Identity service: http://localhost:5105
  • Orders data (SQL Server): Server=tcp:localhost,5432;Database=Microsoft.eShopOnContainers.Services.OrderingDb;User Id=sa;Password=Pass@word;
  • Catalog data (SQL Server): Server=tcp:localhost,5434;Database=CatalogDB;User Id=sa;Password=Pass@word
  • Identity data (SQL Server): Server=localhost,5433;Database=aspnet-Microsoft.eShopOnContainers;User Id=sa;Password=Pass@word
  • Basket data (Redis): listening in localhost:6379