add environments for sf win
This commit is contained in:
parent
be0b868d3b
commit
9f39d8aa82
ServiceFabric/Windows/eShopOnServiceFabricApiGateWays/eShopOnServiceFabricApiGW
ApiGw_Base/PackageRoot
eShopOnServiceFabricApiGW
@ -19,7 +19,13 @@
|
||||
</ExeHost>
|
||||
</EntryPoint>
|
||||
<EnvironmentVariables>
|
||||
<EnvironmentVariable Name="ASPNETCORE_ENVIRONMENT" Value=""/>
|
||||
<EnvironmentVariable Name="ASPNETCORE_ENVIRONMENT" Value="Development"/>
|
||||
<EnvironmentVariable Name="ASPNETCORE_URLS" Value="http://0.0.0.0:80"/>
|
||||
<EnvironmentVariable Name="UrlMobilMarketing" Value="http://apigw_base.eshoponservicefabricapigwtype:8949/configuration/mobile/marketing" />
|
||||
<EnvironmentVariable Name="UrlMobilShopping" Value="http://apigw_base.eshoponservicefabricapigwtype:8949/configuration/mobile/shopping" />
|
||||
<EnvironmentVariable Name="UrlWebMarketing" Value="http://apigw_base.eshoponservicefabricapigwtype:8949/configuration/web/marketing" />
|
||||
<EnvironmentVariable Name="UrlWebShopping" Value="http://apigw_base.eshoponservicefabricapigwtype:8949/configuration/web/shopping" />
|
||||
<EnvironmentVariable Name="OrchestratorType" Value="SF"/>
|
||||
</EnvironmentVariables>
|
||||
</CodePackage>
|
||||
|
||||
|
@ -12,6 +12,12 @@
|
||||
<ConfigOverrides />
|
||||
<EnvironmentOverrides CodePackageRef="code">
|
||||
<EnvironmentVariable Name="ASPNETCORE_ENVIRONMENT" Value="[ApiGw_Base_ASPNETCORE_ENVIRONMENT]" />
|
||||
<EnvironmentVariable Name="ASPNETCORE_URLS" Value="http://0.0.0.0:80" />
|
||||
<EnvironmentVariable Name="UrlMobilMarketing" Value="http://apigw_base.eshoponservicefabricapigwtype:8949/configuration/mobile/marketing" />
|
||||
<EnvironmentVariable Name="UrlMobilShopping" Value="http://apigw_base.eshoponservicefabricapigwtype:8949/configuration/mobile/shopping" />
|
||||
<EnvironmentVariable Name="UrlWebMarketing" Value="http://apigw_base.eshoponservicefabricapigwtype:8949/configuration/web/marketing" />
|
||||
<EnvironmentVariable Name="UrlWebShopping" Value="http://apigw_base.eshoponservicefabricapigwtype:8949/configuration/web/shopping" />
|
||||
<EnvironmentVariable Name="OrchestratorType" Value="SF" />
|
||||
</EnvironmentOverrides>
|
||||
</ServiceManifestImport>
|
||||
<DefaultServices>
|
||||
@ -20,7 +26,7 @@
|
||||
ServiceFabric PowerShell module.
|
||||
|
||||
The attribute ServiceTypeName below must match the name defined in the imported ServiceManifest.xml file. -->
|
||||
<Service Name="ApiGw_Base" ServicePackageActivationMode="ExclusiveProcess">
|
||||
<Service Name="ApiGw_Base" ServiceDnsName="apigw_base.eshoponservicefabricapigwtype" ServicePackageActivationMode="ExclusiveProcess">
|
||||
<StatelessService ServiceTypeName="ApiGw_BaseType" InstanceCount="[ApiGw_Base_InstanceCount]">
|
||||
<SingletonPartition />
|
||||
</StatelessService>
|
||||
|
@ -8,4 +8,7 @@
|
||||
-->
|
||||
<ClusterConnectionParameters />
|
||||
<ApplicationParameterFile Path="..\ApplicationParameters\Local.5Node.xml" />
|
||||
<UpgradeDeployment Mode="UnmonitoredAuto" Enabled="true">
|
||||
<Parameters UpgradeReplicaSetCheckTimeoutSec="1" Force="True" />
|
||||
</UpgradeDeployment>
|
||||
</PublishProfile>
|
Loading…
x
Reference in New Issue
Block a user