doc: template version for ECS, Consul Catalog and Mesos.
This commit is contained in:
parent
5c0b18efe4
commit
6845068b82
3 changed files with 40 additions and 5 deletions
|
@ -58,6 +58,22 @@ prefix = "traefik"
|
||||||
# cert = "/etc/ssl/consul.crt"
|
# cert = "/etc/ssl/consul.crt"
|
||||||
# key = "/etc/ssl/consul.key"
|
# key = "/etc/ssl/consul.key"
|
||||||
# insecureskipverify = true
|
# insecureskipverify = true
|
||||||
|
|
||||||
|
# Override default configuration template.
|
||||||
|
# For advanced users :)
|
||||||
|
#
|
||||||
|
# Optional
|
||||||
|
#
|
||||||
|
# filename = "consulcatalog.tmpl"
|
||||||
|
|
||||||
|
# Override template version
|
||||||
|
# For advanced users :)
|
||||||
|
#
|
||||||
|
# Optional
|
||||||
|
# - "1": previous template version (must be used only with older custom templates, see "filename")
|
||||||
|
# - "2": current template version (must be used to force template version when "filename" is used)
|
||||||
|
#
|
||||||
|
# templateVersion = "2"
|
||||||
```
|
```
|
||||||
|
|
||||||
This backend will create routes matching on hostname based on the service name used in Consul.
|
This backend will create routes matching on hostname based on the service name used in Consul.
|
||||||
|
|
|
@ -84,6 +84,15 @@ secretAccessKey = "123"
|
||||||
# Optional
|
# Optional
|
||||||
#
|
#
|
||||||
# filename = "ecs.tmpl"
|
# filename = "ecs.tmpl"
|
||||||
|
|
||||||
|
# Override template version
|
||||||
|
# For advanced users :)
|
||||||
|
#
|
||||||
|
# Optional
|
||||||
|
# - "1": previous template version (must be used only with older custom templates, see "filename")
|
||||||
|
# - "2": current template version (must be used to force template version when "filename" is used)
|
||||||
|
#
|
||||||
|
# templateVersion = "2"
|
||||||
```
|
```
|
||||||
|
|
||||||
If `AccessKeyID`/`SecretAccessKey` is not given credentials will be resolved in the following order:
|
If `AccessKeyID`/`SecretAccessKey` is not given credentials will be resolved in the following order:
|
||||||
|
|
|
@ -34,6 +34,13 @@ watch = true
|
||||||
#
|
#
|
||||||
domain = "mesos.localhost"
|
domain = "mesos.localhost"
|
||||||
|
|
||||||
|
# Expose Mesos apps by default in Traefik.
|
||||||
|
#
|
||||||
|
# Optional
|
||||||
|
# Default: true
|
||||||
|
#
|
||||||
|
# exposedByDefault = false
|
||||||
|
|
||||||
# Override default configuration template.
|
# Override default configuration template.
|
||||||
# For advanced users :)
|
# For advanced users :)
|
||||||
#
|
#
|
||||||
|
@ -41,12 +48,14 @@ domain = "mesos.localhost"
|
||||||
#
|
#
|
||||||
# filename = "mesos.tmpl"
|
# filename = "mesos.tmpl"
|
||||||
|
|
||||||
# Expose Mesos apps by default in Traefik.
|
# Override template version
|
||||||
|
# For advanced users :)
|
||||||
#
|
#
|
||||||
# Optional
|
# Optional
|
||||||
# Default: true
|
# - "1": previous template version (must be used only with older custom templates, see "filename")
|
||||||
|
# - "2": current template version (must be used to force template version when "filename" is used)
|
||||||
#
|
#
|
||||||
# ExposedByDefault = false
|
# templateVersion = "2"
|
||||||
|
|
||||||
# TLS client configuration. https://golang.org/pkg/crypto/tls/#Config
|
# TLS client configuration. https://golang.org/pkg/crypto/tls/#Config
|
||||||
#
|
#
|
||||||
|
@ -90,11 +99,12 @@ domain = "mesos.localhost"
|
||||||
# Default: false
|
# Default: false
|
||||||
#
|
#
|
||||||
# groupsAsSubDomains = true
|
# groupsAsSubDomains = true
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## Labels: overriding default behaviour
|
## Labels: overriding default behavior
|
||||||
|
|
||||||
The following labels can be defined on Mesos tasks. They adjust the behaviour for the entire application.
|
The following labels can be defined on Mesos tasks. They adjust the behavior for the entire application.
|
||||||
|
|
||||||
| Label | Description |
|
| Label | Description |
|
||||||
|------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
|------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||||
|
|
Loading…
Reference in a new issue