Browse Source

Test base_path

pull/808/head
Ramón Tomás 7 years ago
parent
commit
89cbbb43f7
4 changed files with 6 additions and 4 deletions
  1. +1
    -1
      ServiceFabric/eShopOnServiceFabric/ApplicationPackageRoot/RabbitMQPkg/ServiceManifest.xml
  2. +1
    -1
      ServiceFabric/eShopOnServiceFabric/ApplicationPackageRoot/SqlServerPkg/ServiceManifest.xml
  3. +1
    -1
      ServiceFabric/eShopOnServiceFabric/PublishProfiles/Cloud.xml
  4. +3
    -1
      src/Web/WebMVC/Startup.cs

+ 1
- 1
ServiceFabric/eShopOnServiceFabric/ApplicationPackageRoot/RabbitMQPkg/ServiceManifest.xml View File

@ -15,7 +15,7 @@
<EntryPoint>
<!-- Follow this link for more information about deploying Windows containers to Service Fabric: https://aka.ms/sfguestcontainers -->
<ContainerHost>
<ImageName>spring2/rabbitmq</ImageName>
<ImageName>spring2/rabbitmq:3.6.10</ImageName>
</ContainerHost>
</EntryPoint>
<!-- Pass environment variables to your container: -->


+ 1
- 1
ServiceFabric/eShopOnServiceFabric/ApplicationPackageRoot/SqlServerPkg/ServiceManifest.xml View File

@ -15,7 +15,7 @@
<EntryPoint>
<!-- Follow this link for more information about deploying Windows containers to Service Fabric: https://aka.ms/sfguestcontainers -->
<ContainerHost>
<ImageName>microsoft/mssql-server-windows-developer</ImageName>
<ImageName>microsoft/mssql-server-windows-developer:2016-sp1-windowsservercore-10.0.14393.1480</ImageName>
</ContainerHost>
</EntryPoint>
<!-- Pass environment variables to your container: -->


+ 1
- 1
ServiceFabric/eShopOnServiceFabric/PublishProfiles/Cloud.xml View File

@ -20,6 +20,6 @@
AzureActiveDirectory="true"
ServerCertThumbprint="0123456789012345678901234567890123456789" />
-->
<ClusterConnectionParameters ConnectionEndpoint="" />
<ClusterConnectionParameters ConnectionEndpoint="eshopsfwin.westeurope.cloudapp.azure.com:19000" />
<ApplicationParameterFile Path="..\ApplicationParameters\Cloud.xml" />
</PublishProfile>

+ 3
- 1
src/Web/WebMVC/Startup.cs View File

@ -124,8 +124,10 @@ namespace Microsoft.eShopOnContainers.WebMVC
}
if (!string.IsNullOrEmpty(Configuration["PATH_BASE"]))
var pathBase = Configuration["PATH_BASE"];
if (!string.IsNullOrEmpty(pathBase))
{
loggerFactory.CreateLogger("init").LogDebug($"Using PATH BASE '{pathBase}'");
app.UsePathBase(Configuration["PATH_BASE"]);
}


Loading…
Cancel
Save