Make docker work (#653)
This commit is contained in:
@@ -6,9 +6,20 @@ services:
|
|||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: src/Web/Dockerfile
|
dockerfile: src/Web/Dockerfile
|
||||||
|
depends_on:
|
||||||
|
- "sqlserver"
|
||||||
eshoppublicapi:
|
eshoppublicapi:
|
||||||
image: ${DOCKER_REGISTRY-}eshoppublicapi
|
image: ${DOCKER_REGISTRY-}eshoppublicapi
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: src/PublicApi/Dockerfile
|
dockerfile: src/PublicApi/Dockerfile
|
||||||
|
depends_on:
|
||||||
|
- "sqlserver"
|
||||||
|
sqlserver:
|
||||||
|
image: mcr.microsoft.com/azure-sql-edge
|
||||||
|
ports:
|
||||||
|
- "1433:1433"
|
||||||
|
environment:
|
||||||
|
- SA_PASSWORD=@someThingComplicated1234
|
||||||
|
- ACCEPT_EULA=Y
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"ConnectionStrings": {
|
"ConnectionStrings": {
|
||||||
"CatalogConnection": "Server=(localdb)\\mssqllocaldb;Integrated Security=true;Initial Catalog=Microsoft.eShopOnWeb.CatalogDb;",
|
"CatalogConnection": "Server=sqlserver,1433;Integrated Security=true;Initial Catalog=Microsoft.eShopOnWeb.CatalogDb;User Id=sa;Password=@someThingComplicated1234;Trusted_Connection=false;",
|
||||||
"IdentityConnection": "Server=(localdb)\\mssqllocaldb;Integrated Security=true;Initial Catalog=Microsoft.eShopOnWeb.Identity;"
|
"IdentityConnection": "Server=sqlserver,1433;Integrated Security=true;Initial Catalog=Microsoft.eShopOnWeb.Identity;User Id=sa;Password=@someThingComplicated1234;Trusted_Connection=false;"
|
||||||
},
|
},
|
||||||
"baseUrls": {
|
"baseUrls": {
|
||||||
"apiBase": "http://localhost:5200/api/",
|
"apiBase": "http://localhost:5200/api/",
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"ConnectionStrings": {
|
"ConnectionStrings": {
|
||||||
"CatalogConnection": "Server=(localdb)\\mssqllocaldb;Integrated Security=true;Initial Catalog=Microsoft.eShopOnWeb.CatalogDb;",
|
"CatalogConnection": "Server=sqlserver,1433;Integrated Security=true;Initial Catalog=Microsoft.eShopOnWeb.CatalogDb;User Id=sa;Password=@someThingComplicated1234;Trusted_Connection=false;",
|
||||||
"IdentityConnection": "Server=(localdb)\\mssqllocaldb;Integrated Security=true;Initial Catalog=Microsoft.eShopOnWeb.Identity;"
|
"IdentityConnection": "Server=sqlserver,1433;Integrated Security=true;Initial Catalog=Microsoft.eShopOnWeb.Identity;User Id=sa;Password=@someThingComplicated1234;Trusted_Connection=false;"
|
||||||
},
|
},
|
||||||
"baseUrls": {
|
"baseUrls": {
|
||||||
"apiBase": "http://localhost:5200/api/",
|
"apiBase": "http://localhost:5200/api/",
|
||||||
|
|||||||
Reference in New Issue
Block a user