Merge pull request #213 from ncreuschling/fix-spelling-of-label

fix spelling of label
This commit is contained in:
David Heinemeier Hansson
2023-04-12 15:58:46 +02:00
committed by GitHub

View File

@@ -529,13 +529,13 @@ traefik:
This starts the Traefik container with `--volume /tmp/example.json:/tmp/example.json --publish 8080:8080 --memory 512m` arguments to `docker run`. This starts the Traefik container with `--volume /tmp/example.json:/tmp/example.json --publish 8080:8080 --memory 512m` arguments to `docker run`.
### Traefik container lables ### Traefik container labels
Add labels to Traefik Docker container. Add labels to Traefik Docker container.
```yaml ```yaml
traefik: traefik:
lables: labels:
traefik.enable: true traefik.enable: true
traefik.http.routers.dashboard.rule: Host(`traefik.example.com`) && (PathPrefix(`/api`) || PathPrefix(`/dashboard`)) traefik.http.routers.dashboard.rule: Host(`traefik.example.com`) && (PathPrefix(`/api`) || PathPrefix(`/dashboard`))
traefik.http.routers.dashboard.service: api@internal traefik.http.routers.dashboard.service: api@internal