Update Dynamic Configuration Reference for both Docker and Marathon
This commit is contained in:
parent
6fdd48509e
commit
a17ac23457
6 changed files with 174 additions and 165 deletions
|
@ -6,5 +6,7 @@ Dynamic configuration with Docker Labels
|
|||
The labels are case insensitive.
|
||||
|
||||
```yaml
|
||||
labels:
|
||||
--8<-- "content/reference/dynamic-configuration/docker.yml"
|
||||
--8<-- "content/reference/dynamic-configuration/labels.yml"
|
||||
```
|
||||
|
|
3
docs/content/reference/dynamic-configuration/docker.yml
Normal file
3
docs/content/reference/dynamic-configuration/docker.yml
Normal file
|
@ -0,0 +1,3 @@
|
|||
- "traefik.enable=true"
|
||||
- "traefik.docker.network=foobar"
|
||||
- "traefik.docker.lbswarm=true"
|
|
@ -1,4 +1,3 @@
|
|||
labels:
|
||||
- "traefik.http.middlewares.middleware00.addprefix.prefix=foobar"
|
||||
- "traefik.http.middlewares.middleware01.basicauth.headerfield=foobar"
|
||||
- "traefik.http.middlewares.middleware01.basicauth.realm=foobar"
|
||||
|
|
|
@ -4,5 +4,7 @@ Dynamic configuration with Marathon Labels
|
|||
{: .subtitle }
|
||||
|
||||
```yaml
|
||||
labels:
|
||||
--8<-- "content/reference/dynamic-configuration/marathon.yml"
|
||||
--8<-- "content/reference/dynamic-configuration/labels.yml"
|
||||
```
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
- "traefik.enable=true"
|
||||
- "traefik.marathon.ipaddressidx=42"
|
|
@ -148,5 +148,6 @@ nav:
|
|||
- 'Environment variables': 'reference/static-configuration/env.md'
|
||||
- 'Dynamic Configuration':
|
||||
- 'Docker': 'reference/dynamic-configuration/docker.md'
|
||||
- 'Marathon': 'reference/dynamic-configuration/marathon.md'
|
||||
- 'Kubernetes CRD': 'reference/dynamic-configuration/kubernetes-crd.md'
|
||||
- 'File': 'reference/dynamic-configuration/file.md'
|
||||
|
|
Loading…
Add table
Reference in a new issue