Update Dynamic Configuration Reference for both Docker and Marathon

This commit is contained in:
Jean-Baptiste Doumenjou 2019-07-16 06:48:03 +02:00 committed by Traefiker Bot
parent 6fdd48509e
commit a17ac23457
6 changed files with 174 additions and 165 deletions

View file

@ -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"
```

View file

@ -0,0 +1,3 @@
- "traefik.enable=true"
- "traefik.docker.network=foobar"
- "traefik.docker.lbswarm=true"

View file

@ -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"

View file

@ -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"
```

View file

@ -0,0 +1,2 @@
- "traefik.enable=true"
- "traefik.marathon.ipaddressidx=42"

View file

@ -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'