add environments for sf win
This commit is contained in:
		
							parent
							
								
									be0b868d3b
								
							
						
					
					
						commit
						9f39d8aa82
					
				@ -19,7 +19,13 @@
 | 
				
			|||||||
      </ExeHost>
 | 
					      </ExeHost>
 | 
				
			||||||
    </EntryPoint>
 | 
					    </EntryPoint>
 | 
				
			||||||
    <EnvironmentVariables>
 | 
					    <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>
 | 
					    </EnvironmentVariables>
 | 
				
			||||||
  </CodePackage>
 | 
					  </CodePackage>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
@ -12,6 +12,12 @@
 | 
				
			|||||||
    <ConfigOverrides />
 | 
					    <ConfigOverrides />
 | 
				
			||||||
    <EnvironmentOverrides CodePackageRef="code">
 | 
					    <EnvironmentOverrides CodePackageRef="code">
 | 
				
			||||||
      <EnvironmentVariable Name="ASPNETCORE_ENVIRONMENT" Value="[ApiGw_Base_ASPNETCORE_ENVIRONMENT]" />
 | 
					      <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>
 | 
					    </EnvironmentOverrides>
 | 
				
			||||||
  </ServiceManifestImport>
 | 
					  </ServiceManifestImport>
 | 
				
			||||||
  <DefaultServices>
 | 
					  <DefaultServices>
 | 
				
			||||||
@ -20,7 +26,7 @@
 | 
				
			|||||||
         ServiceFabric PowerShell module.
 | 
					         ServiceFabric PowerShell module.
 | 
				
			||||||
         
 | 
					         
 | 
				
			||||||
         The attribute ServiceTypeName below must match the name defined in the imported ServiceManifest.xml file. -->
 | 
					         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]">
 | 
					      <StatelessService ServiceTypeName="ApiGw_BaseType" InstanceCount="[ApiGw_Base_InstanceCount]">
 | 
				
			||||||
        <SingletonPartition />
 | 
					        <SingletonPartition />
 | 
				
			||||||
      </StatelessService>
 | 
					      </StatelessService>
 | 
				
			||||||
 | 
				
			|||||||
@ -8,4 +8,7 @@
 | 
				
			|||||||
  -->
 | 
					  -->
 | 
				
			||||||
  <ClusterConnectionParameters />
 | 
					  <ClusterConnectionParameters />
 | 
				
			||||||
  <ApplicationParameterFile Path="..\ApplicationParameters\Local.5Node.xml" />
 | 
					  <ApplicationParameterFile Path="..\ApplicationParameters\Local.5Node.xml" />
 | 
				
			||||||
 | 
					  <UpgradeDeployment Mode="UnmonitoredAuto" Enabled="true">
 | 
				
			||||||
 | 
					    <Parameters UpgradeReplicaSetCheckTimeoutSec="1" Force="True" />
 | 
				
			||||||
 | 
					  </UpgradeDeployment>
 | 
				
			||||||
</PublishProfile>
 | 
					</PublishProfile>
 | 
				
			||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user