catalog data to sql server in docker-compose.yml
This commit is contained in:
parent
9998222642
commit
a2e7e77761
@ -10,7 +10,7 @@ services:
|
|||||||
- CatalogUrl=http://catalog.api
|
- CatalogUrl=http://catalog.api
|
||||||
- OrderingUrl=http://ordering.api
|
- OrderingUrl=http://ordering.api
|
||||||
ports:
|
ports:
|
||||||
- "5000:80"
|
- "5100:80"
|
||||||
depends_on:
|
depends_on:
|
||||||
- catalog.api
|
- catalog.api
|
||||||
- identity.data
|
- identity.data
|
||||||
@ -18,16 +18,21 @@ services:
|
|||||||
catalog.api:
|
catalog.api:
|
||||||
image: eshop/catalog.api
|
image: eshop/catalog.api
|
||||||
environment:
|
environment:
|
||||||
- ConnectionString=Server=catalogdata;Port=5432;Database=CatalogDB;username=postgres;password=postgres
|
- ConnectionString=Server=catalog.data;Initial Catalog=CatalogData;User Id=sa;Password=Pass@word
|
||||||
expose:
|
expose:
|
||||||
- "80"
|
- "80"
|
||||||
ports:
|
ports:
|
||||||
- "5001:80"
|
- "5101:80"
|
||||||
depends_on:
|
depends_on:
|
||||||
- catalogdata
|
- catalog.data
|
||||||
|
|
||||||
catalogdata:
|
catalog.data:
|
||||||
image: glennc/eshopdata
|
image: eshop/mssql-server-private-preview
|
||||||
|
environment:
|
||||||
|
- SA_PASSWORD=Pass@word
|
||||||
|
- ACCEPT_EULA=Y
|
||||||
|
ports:
|
||||||
|
- "5434:1433"
|
||||||
|
|
||||||
ordering.api:
|
ordering.api:
|
||||||
image: eshop/ordering.api
|
image: eshop/ordering.api
|
||||||
|
Loading…
x
Reference in New Issue
Block a user