diff --git a/docs/content/providers/docker.md b/docs/content/providers/docker.md index f2c60d931150bf4dd5fc0be824ecaa84ffcaee82..27eaab1e1f1a171f19ac7015def4d4397a8eb613 100644 --- a/docs/content/providers/docker.md +++ b/docs/content/providers/docker.md @@ -531,7 +531,7 @@ providers: _Optional, Default=true_ -Watch Docker Swarm events. +Watch Docker events. ```yaml tab="File (YAML)" providers: diff --git a/docs/content/reference/static-configuration/cli-ref.md b/docs/content/reference/static-configuration/cli-ref.md index 665e8448a5c015cd3a2799b83b4778c8bc750845..984a6b12a5dce33c0be22876da4114c06c5c00e3 100644 --- a/docs/content/reference/static-configuration/cli-ref.md +++ b/docs/content/reference/static-configuration/cli-ref.md @@ -562,7 +562,7 @@ TLS key Use the ip address from the bound port, rather than from the inner network. (Default: ```false```) `--providers.docker.watch`: -Watch Docker Swarm events. (Default: ```true```) +Watch Docker events. (Default: ```true```) `--providers.ecs`: Enable AWS ECS backend with default settings. (Default: ```false```) diff --git a/docs/content/reference/static-configuration/env-ref.md b/docs/content/reference/static-configuration/env-ref.md index fca12510231ee52c4b7fc8e3fe440314cdd00ed0..347f8799998038c133f2ededca5c29a42aab1068 100644 --- a/docs/content/reference/static-configuration/env-ref.md +++ b/docs/content/reference/static-configuration/env-ref.md @@ -562,7 +562,7 @@ TLS key Use the ip address from the bound port, rather than from the inner network. (Default: ```false```) `TRAEFIK_PROVIDERS_DOCKER_WATCH`: -Watch Docker Swarm events. (Default: ```true```) +Watch Docker events. (Default: ```true```) `TRAEFIK_PROVIDERS_ECS`: Enable AWS ECS backend with default settings. (Default: ```false```) diff --git a/pkg/provider/docker/docker.go b/pkg/provider/docker/docker.go index 6de0012750bef01eb3208b89171f92c3359ed352..4decdeef829e7b4f4d5058a57ce9faace02698b7 100644 --- a/pkg/provider/docker/docker.go +++ b/pkg/provider/docker/docker.go @@ -49,7 +49,7 @@ var _ provider.Provider = (*Provider)(nil) // Provider holds configurations of the provider. type Provider struct { Constraints string `description:"Constraints is an expression that Traefik matches against the container's labels to determine whether to create any route for that container." json:"constraints,omitempty" toml:"constraints,omitempty" yaml:"constraints,omitempty" export:"true"` - Watch bool `description:"Watch Docker Swarm events." json:"watch,omitempty" toml:"watch,omitempty" yaml:"watch,omitempty" export:"true"` + Watch bool `description:"Watch Docker events." json:"watch,omitempty" toml:"watch,omitempty" yaml:"watch,omitempty" export:"true"` Endpoint string `description:"Docker server endpoint. Can be a tcp or a unix socket endpoint." json:"endpoint,omitempty" toml:"endpoint,omitempty" yaml:"endpoint,omitempty"` DefaultRule string `description:"Default rule." json:"defaultRule,omitempty" toml:"defaultRule,omitempty" yaml:"defaultRule,omitempty"` TLS *types.ClientTLS `description:"Enable Docker TLS support." json:"tls,omitempty" toml:"tls,omitempty" yaml:"tls,omitempty" export:"true"`