catalog loads in Docker
But, its fake data.
This commit is contained in:
parent
409619f49b
commit
958bae5c45
@ -1,22 +1,6 @@
|
|||||||
version: '2.1'
|
version: '2.1'
|
||||||
|
|
||||||
services:
|
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:
|
catalog.webforms:
|
||||||
ports:
|
ports:
|
||||||
- "80:80"
|
- "80:80"
|
||||||
|
@ -11,16 +11,3 @@ services:
|
|||||||
- ~\msvsmon:C:\msvsmon:ro
|
- ~\msvsmon:C:\msvsmon:ro
|
||||||
labels:
|
labels:
|
||||||
- "com.microsoft.visualstudio.targetoperatingsystem=windows"
|
- "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,16 +6,5 @@ services:
|
|||||||
build:
|
build:
|
||||||
context: .\Catalog.WebForms
|
context: .\Catalog.WebForms
|
||||||
dockerfile: Dockerfile
|
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