Add Swarm section to the Docker Provider Documentation

This commit is contained in:
Damien Duportal 2019-11-27 17:12:04 +01:00 committed by Traefiker Bot
parent ba49012447
commit 2685e06528
2 changed files with 136 additions and 52 deletions

View file

@ -243,11 +243,12 @@ you'd add the label `traefik.http.services.<name-of-your-choice>.loadbalancer.pa
!!! warning "The character `@` is not authorized in the service name `<service_name>`."
??? info "`traefik.http.services.<service_name>.loadbalancer.server.port`"
Registers a port.
Useful when the container exposes multiples ports.
Mandatory for Docker Swarm.
Mandatory for Docker Swarm (see the section ["Port Detection with Docker Swarm"](../../providers/docker.md#port-detection_1)).
{: #port }
```yaml
- "traefik.http.services.myservice.loadbalancer.server.port=8080"