diff --git a/docs/content/providers/swarm.md b/docs/content/providers/swarm.md index 9220580a7..4808c7e29 100644 --- a/docs/content/providers/swarm.md +++ b/docs/content/providers/swarm.md @@ -455,7 +455,10 @@ _Optional, Default=""_ Defines a default docker network to use for connections to all containers. -This option can be overridden on a per-container basis with the `traefik.docker.network` label. +This option can be overridden on a per-container basis with the `traefik.docker.network` [routing label](../routing/providers/swarm.md#traefikdockernetwork). + +!!! warning + The Docker Swarm provider still uses the same per-container mechanism as the Docker provider, so therefore the label still uses the `docker` keyword intentionally. ```yaml tab="File (YAML)" providers: diff --git a/docs/content/routing/providers/swarm.md b/docs/content/routing/providers/swarm.md index f6dcfb1ef..84b984633 100644 --- a/docs/content/routing/providers/swarm.md +++ b/docs/content/routing/providers/swarm.md @@ -659,6 +659,9 @@ Overrides the default docker network to use for connections to the container. If a container is linked to several networks, be sure to set the proper network name (you can check this with `docker inspect `), otherwise it will randomly pick one (depending on how docker is returning them). +!!! warning + The Docker Swarm provider still uses the same per-container mechanism as the Docker provider, so therefore the label still uses the `docker` keyword intentionally. + !!! warning When deploying a stack from a compose file `stack`, the networks defined are prefixed with `stack`. @@ -672,3 +675,6 @@ Enables Swarm's inbuilt load balancer (only relevant in Swarm Mode). If you enable this option, Traefik will use the virtual IP provided by docker swarm instead of the containers IPs. Which means that Traefik will not perform any kind of load balancing and will delegate this task to swarm. + +!!! warning + The Docker Swarm provider still uses the same per-container mechanism as the Docker provider, so therefore the label still uses the `docker` keyword intentionally.