From ee131982425d4f3bf6aa4749146b61fc11e21d0f Mon Sep 17 00:00:00 2001 From: Cesar De la Torre Date: Thu, 9 Mar 2017 11:59:29 -0800 Subject: [PATCH] Revert "Removes Docker profile from launchSettings.json" --- src/Console/eShopConsole/Properties/launchSettings.json | 4 ++++ .../Basket/Basket.API/Properties/launchSettings.json | 4 ++++ .../Catalog/Catalog.API/Properties/launchSettings.json | 4 ++++ .../Ordering/Ordering.API/Properties/launchSettings.json | 6 ++++++ src/Web/WebMVC/Properties/launchSettings.json | 4 ++++ 5 files changed, 22 insertions(+) diff --git a/src/Console/eShopConsole/Properties/launchSettings.json b/src/Console/eShopConsole/Properties/launchSettings.json index bddd8d3e8..11c1111af 100644 --- a/src/Console/eShopConsole/Properties/launchSettings.json +++ b/src/Console/eShopConsole/Properties/launchSettings.json @@ -1,4 +1,8 @@ { "profiles": { + "Docker": { + "executablePath": "%WINDIR%\\System32\\WindowsPowerShell\\v1.0\\powershell.exe", + "commandLineArgs": "-ExecutionPolicy RemoteSigned .\\DockerTask.ps1 -Run -Environment $(Configuration) -Machine '$(DockerMachineName)'" + } } } \ No newline at end of file diff --git a/src/Services/Basket/Basket.API/Properties/launchSettings.json b/src/Services/Basket/Basket.API/Properties/launchSettings.json index 63edfecb1..73a5ae0c9 100644 --- a/src/Services/Basket/Basket.API/Properties/launchSettings.json +++ b/src/Services/Basket/Basket.API/Properties/launchSettings.json @@ -23,6 +23,10 @@ "environmentVariables": { "ASPNETCORE_ENVIRONMENT": "Development" } + }, + "Docker": { + "launchBrowser": true, + "launchUrl": "http://localhost:{ServicePort}/api/values" } } } \ No newline at end of file diff --git a/src/Services/Catalog/Catalog.API/Properties/launchSettings.json b/src/Services/Catalog/Catalog.API/Properties/launchSettings.json index 8a69fa6af..0d9da96ba 100644 --- a/src/Services/Catalog/Catalog.API/Properties/launchSettings.json +++ b/src/Services/Catalog/Catalog.API/Properties/launchSettings.json @@ -22,6 +22,10 @@ "environmentVariables": { "ASPNETCORE_ENVIRONMENT": "Development" } + }, + "Docker": { + "launchBrowser": true, + "launchUrl": "http://localhost:{ServicePort}/api/values" } } } \ No newline at end of file diff --git a/src/Services/Ordering/Ordering.API/Properties/launchSettings.json b/src/Services/Ordering/Ordering.API/Properties/launchSettings.json index 3ee9281ae..2e24c9099 100644 --- a/src/Services/Ordering/Ordering.API/Properties/launchSettings.json +++ b/src/Services/Ordering/Ordering.API/Properties/launchSettings.json @@ -23,6 +23,12 @@ "environmentVariables": { "ASPNETCORE_ENVIRONMENT": "Development" } + }, + "Docker": { + "executablePath": "%WINDIR%\\System32\\WindowsPowerShell\\v1.0\\powershell.exe", + "commandLineArgs": "-ExecutionPolicy RemoteSigned .\\DockerTask.ps1 -Run -Environment $(Configuration) -Machine '$(DockerMachineName)'", + "launchBrowser": true, + "launchUrl": "http://localhost:{ServicePort}/api/environmentInfo/machinename" } } } \ No newline at end of file diff --git a/src/Web/WebMVC/Properties/launchSettings.json b/src/Web/WebMVC/Properties/launchSettings.json index bf529db40..cc4099fcb 100644 --- a/src/Web/WebMVC/Properties/launchSettings.json +++ b/src/Web/WebMVC/Properties/launchSettings.json @@ -21,6 +21,10 @@ "environmentVariables": { "ASPNETCORE_ENVIRONMENT": "Development" } + }, + "Docker": { + "launchBrowser": true, + "launchUrl": "http://localhost:{ServicePort}" } } } \ No newline at end of file