Revert "catalog loads in Docker"

This reverts commit c160af2179004a544dab47f95fce8f1c895aecdb.
This commit is contained in:
BillWagner 2017-04-13 09:47:10 -04:00 committed by Bill Wagner
parent 958bae5c45
commit f038f9a7bf
3 changed files with 41 additions and 1 deletions

View File

@ -1,6 +1,22 @@
version: '2.1'
services:
sql.data:
environment:
- SA_PASSWORD=Pass@word
- ACCEPT_EULA=Y
ports:
- "5433:1433"
catalog.api:
environment:
- ASPNETCORE_ENVIRONMENT=Development
- ConnectionString=Server=sql.data;Database=Microsoft.eShopOnContainers.Services.CatalogDb;User Id=sa;Password=Pass@word
#- ExternalCatalogBaseUrl=http://13.88.8.119:5101 #Remote: VM Needs to have public access at 5105.
- ExternalCatalogBaseUrl=http://localhost:5101 #Local: You need to open your local dev-machine firewall at range 5100-5105. at range 5100-5105.
ports:
- "5101:5101"
catalog.webforms:
ports:
- "80:80"

View File

@ -11,3 +11,16 @@ services:
- ~\msvsmon:C:\msvsmon:ro
labels:
- "com.microsoft.visualstudio.targetoperatingsystem=windows"
catalog.api:
image: eshop/catalog.api:dev
build:
args:
source: ${DOCKER_BUILD_SOURCE}
environment:
- DOTNET_USE_POLLING_FILE_WATCHER=1
volumes:
- ../../Services/Catalog/Catalog.API:C:\app
- ~\msvsmon:C:\msvsmon:ro
labels:
- "com.microsoft.visualstudio.targetoperatingsystem=windows"

View File

@ -6,5 +6,16 @@ services:
build:
context: .\Catalog.WebForms
dockerfile: Dockerfile
depends_on:
- catalog.api
catalog.api:
image: eshop/catalog.api
build:
context: ../../Services/Catalog/Catalog.API
dockerfile: Dockerfile.nanowin
depends_on:
- sql.data
sql.data:
image: microsoft/mssql-server-windows