Revert "catalog loads in Docker"
This reverts commit c160af2179004a544dab47f95fce8f1c895aecdb.
This commit is contained in:
parent
958bae5c45
commit
f038f9a7bf
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user