From 88e14bb4514e0f944ea915e37e6acf3e07f5a3f0 Mon Sep 17 00:00:00 2001 From: Sumit Ghosh <13281246+sughosneo@users.noreply.github.com> Date: Wed, 10 Feb 2021 18:41:18 +0530 Subject: [PATCH] Updated Docker Compose Deployment file --- Docker-compose-deployment-files.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/Docker-compose-deployment-files.md b/Docker-compose-deployment-files.md index 198049e..e60e5e3 100644 --- a/Docker-compose-deployment-files.md +++ b/Docker-compose-deployment-files.md @@ -2,12 +2,34 @@ The root folder of the repo contains all docker-compose files (`docker-compose*. > **CONTENT** +- [Getting Started](#getting-started) - [Run eShopOnContainers locally](#run-eshoponcontainers-locally) - [Run eShopOnContainers on a remote docker host](#run-eshoponcontainers-on-a-remote-docker-host) - [Run eShopOnContainers on Windows containers](#run-eshoponcontainers-on-windows-containers) - [Run infrastructure containers](#run-infrastructure-containers) - [Other files](#other-files) +## Getting Started + +Make sure you have [installed](https://docs.docker.com/docker-for-windows/install/) and [configured](https://github.com/dotnet-architecture/eShopOnContainers/wiki/Windows-setup#configure-docker) docker in your environment. After that, you can run the below commands from the **/src/** directory and get started with the `eShopOnContainers` immediately. + +```powershell +docker-compose build +docker-compose up +``` + +You should be able to browse different components of the application by using the below URLs : + +```powershell +Web Status : http://host.docker.internal:5107/ +Web MVC : http://host.docker.internal:5100/ +Web SPA : http://host.docker.internal:5104/ +``` + +> Note: If you are running this application in macOS then use docker.for.mac.localhost as DNS name in .env file and the above URLs instead of host.docker.internal. + +Below are the other avenues to setup `eShopOnContainers`. + ## Run eShopOnContainers locally * `docker-compose.yml`: This file contains **the definition of all images needed for running eShopOnContainers**.