1
0
Fork 0

doc: improve examples.

This commit is contained in:
Ludovic Fernandez 2019-07-22 09:58:04 +02:00 committed by Traefiker Bot
parent 8b4ba3cb67
commit 75c99a0491
69 changed files with 1256 additions and 552 deletions

View file

@ -26,7 +26,7 @@ Attach labels to your containers and let Traefik do the rest!
```
```bash tab="CLI"
--providers.docker
--providers.docker=true
```
Attaching labels to containers (in your docker compose file)
@ -65,7 +65,7 @@ Attach labels to your containers and let Traefik do the rest!
```bash tab="CLI"
--providers.docker.endpoint="tcp://127.0.0.1:2375"
--providers.docker.swarmMode
--providers.docker.swarmMode=true
```
Attach labels to services (not to containers) while in Swarm mode (in your docker compose file)
@ -331,7 +331,7 @@ providers:
```
```bash tab="CLI"
--providers.docker.swarmMode
--providers.docker.swarmMode=true
# ...
```