This repository has been archived by the owner on Jul 21, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ServiceManifest.xml
56 lines (56 loc) · 3.11 KB
/
ServiceManifest.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<?xml version="1.0" encoding="utf-8"?>
<ServiceManifest Name="TraefikPkg" Version="1.0.0" xmlns="http://schemas.microsoft.com/2011/01/fabric" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ServiceTypes>
<!-- This is the name of your ServiceType.
The UseImplicitHost attribute indicates this is a guest executable service. -->
<StatelessServiceType ServiceTypeName="TraefikType" UseImplicitHost="true" />
</ServiceTypes>
<!-- Code package is your service executable. -->
<CodePackage Name="Code" Version="1.0.0">
<!-- The SetupEntryPoint is an optional element used to specify a
program to be executed before the service's code is launched. -->
<!--Windows integration. Comment out if running on non-Windows OS.-->
<SetupEntryPoint>
<ExeHost>
<Program>TraefikPreConfiguratorWindows.exe</Program>
<Arguments>-UseEnv</Arguments>
<WorkingFolder>CodePackage</WorkingFolder>
<!--Uncomment to log console output (both stdout and stderr) to one of the
service's working directories. Do not use in production.-->
<!--<ConsoleRedirection FileRetentionCount="5" FileMaxSizeInKb="20480" />-->
</ExeHost>
</SetupEntryPoint>
<EntryPoint>
<ExeHost>
<Program>traefik.exe</Program>
<Arguments>--configfile=traefik.toml</Arguments>
<WorkingFolder>CodePackage</WorkingFolder>
<!-- Uncomment to log console output (both stdout and stderr) to one of the
service's working directories. Do not use in production. -->
<ConsoleRedirection FileRetentionCount="5" FileMaxSizeInKb="20480" />
</ExeHost>
</EntryPoint>
<!-- Environment variables used by Treafik PreConfigurator to download and convert certificates. -->
<EnvironmentVariables>
<EnvironmentVariable Name="ConfigureCerts" Value=""/>
<EnvironmentVariable Name="ApplicationInsightsKey" Value=""/>
<EnvironmentVariable Name="CertsToConfigure" Value=""/>
<EnvironmentVariable Name="KeyVaultUri" Value=""/>
<EnvironmentVariable Name="KeyVaultClientId" Value=""/>
<EnvironmentVariable Name="KeyVaultClientCert" Value=""/>
</EnvironmentVariables>
</CodePackage>
<!-- Config package is the contents of the Config directoy under PackageRoot that contains an
independently-updateable and versioned set of custom configuration settings for your service. -->
<ConfigPackage Name="Config" Version="1.0.0" />
<Resources>
<Endpoints>
<!-- This endpoint is used by the communication listener to obtain the port on which to
listen. Please note that if your service is partitioned, this port is shared with
replicas of different partitions that are placed in your code. -->
<!--HTTPS port will not work without enabling SSL termination on Traefik. Refer to https://docs.traefik.io/configuration/entrypoints/-->
<Endpoint Name="TraefikTypeHttpsEndpoint" UriScheme="https" Port="443" />
<Endpoint Name="TraefikTypeAPIEndpoint" UriScheme="http" Port="8080" />
</Endpoints>
</Resources>
</ServiceManifest>