diff --git a/docs/user-guide/cluster-docker-consul.md b/docs/user-guide/cluster-docker-consul.md index bdd6d73d1..7f1565c30 100644 --- a/docs/user-guide/cluster-docker-consul.md +++ b/docs/user-guide/cluster-docker-consul.md @@ -91,7 +91,7 @@ To watch docker events, add `--docker.watch`. version: "3" services: traefik: - image: traefik:1.5 + image: traefik: command: - "--api" - "--entrypoints=Name:http Address::80 Redirect.EntryPoint:https" @@ -156,7 +156,7 @@ The initializer in a docker-compose file will be: ```yaml traefik_init: - image: traefik:1.5 + image: traefik: command: - "storeconfig" - "--api" @@ -177,7 +177,7 @@ And now, the Traefik part will only have the Consul configuration. ```yaml traefik: - image: traefik:1.5 + image: traefik: depends_on: - traefik_init - consul @@ -200,7 +200,7 @@ The new configuration will be stored in Consul, and you need to restart the Trae version: "3.4" services: traefik_init: - image: traefik:1.5 + image: traefik: command: - "storeconfig" - "--api" @@ -229,7 +229,7 @@ services: depends_on: - consul traefik: - image: traefik:1.5 + image: traefik: depends_on: - traefik_init - consul diff --git a/docs/user-guide/docker-and-lets-encrypt.md b/docs/user-guide/docker-and-lets-encrypt.md index daf94d907..03b1c7993 100644 --- a/docs/user-guide/docker-and-lets-encrypt.md +++ b/docs/user-guide/docker-and-lets-encrypt.md @@ -50,7 +50,7 @@ version: '2' services: traefik: - image: traefik:1.5.4 + image: traefik: restart: always ports: - 80:80 diff --git a/docs/user-guide/kv-config.md b/docs/user-guide/kv-config.md index a39d1d9a6..3e2959163 100644 --- a/docs/user-guide/kv-config.md +++ b/docs/user-guide/kv-config.md @@ -139,7 +139,7 @@ Here is the [docker-compose file](https://docs.docker.com/compose/compose-file/) ```yaml traefik: - image: traefik + image: traefik: command: --consul --consul.endpoint=127.0.0.1:8500 ports: - "80:80" diff --git a/docs/user-guide/swarm-mode.md b/docs/user-guide/swarm-mode.md index 6413d41a0..951671d62 100644 --- a/docs/user-guide/swarm-mode.md +++ b/docs/user-guide/swarm-mode.md @@ -85,7 +85,7 @@ docker-machine ssh manager "docker service create \ --publish 80:80 --publish 8080:8080 \ --mount type=bind,source=/var/run/docker.sock,target=/var/run/docker.sock \ --network traefik-net \ - traefik \ + traefik: \ --docker \ --docker.swarmMode \ --docker.domain=traefik \ diff --git a/docs/user-guide/swarm.md b/docs/user-guide/swarm.md index 014ab1cd3..84fd53549 100644 --- a/docs/user-guide/swarm.md +++ b/docs/user-guide/swarm.md @@ -81,7 +81,7 @@ docker $(docker-machine config mhs-demo0) run \ -p 80:80 -p 8080:8080 \ --net=my-net \ -v /var/lib/boot2docker/:/ssl \ - traefik \ + traefik: \ -l DEBUG \ -c /dev/null \ --docker \