Skip to content

Commit

Permalink
Merge pull request #2143 from weaveworks/2142-wrong-compose-install-docs
Browse files Browse the repository at this point in the history
Fix Scope arguments in Docker Compose installation docs
  • Loading branch information
Alfonso Acosta authored Jan 21, 2017
2 parents 7aff988 + 1c56b53 commit a6e6131
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 20 deletions.
6 changes: 2 additions & 4 deletions examples/docker/docker-compose-probe-v1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,5 @@ probe:
volumes:
- "/var/run/docker.sock:/var/run/docker.sock:rw"
command:
- "--probe.docker"
- "true"
- "--service-token"
- "${SCOPE_SERVICE_TOKEN}"
- "--probe.docker=true"
- "--service-token=${SCOPE_SERVICE_TOKEN}"
6 changes: 2 additions & 4 deletions examples/docker/docker-compose-probe-v2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,5 @@ services:
volumes:
- "/var/run/docker.sock:/var/run/docker.sock:rw"
command:
- "--probe.docker"
- "true"
- "--service-token"
- "${SCOPE_SERVICE_TOKEN}"
- "--probe.docker=true"
- "--service-token=${SCOPE_SERVICE_TOKEN}"
18 changes: 6 additions & 12 deletions site/installing.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,7 @@ After it’s been launched, open your browser to `http://localhost:4040`.
volumes:
- "/var/run/docker.sock:/var/run/docker.sock:rw"
command:
- "--probe.docker"
- "true"
- "--probe.docker=true"

**Docker Compose Format Version 2:**

Expand All @@ -147,8 +146,7 @@ After it’s been launched, open your browser to `http://localhost:4040`.
volumes:
- "/var/run/docker.sock:/var/run/docker.sock:rw"
command:
- "--probe.docker"
- "true"
- "--probe.docker=true"

Version 2 of this YAML file supports networks and volumes as defined by any plugins you might be using. See [Compose File Reference](https://docs.docker.com/compose/compose-file/) for more information.

Expand Down Expand Up @@ -180,10 +178,8 @@ After it’s been launched, open your web browser to [https://cloud.weave.works]
volumes:
- "/var/run/docker.sock:/var/run/docker.sock:rw"
command:
- "--probe.docker"
- "true"
- "--service-token"
- "${SCOPE_SERVICE_TOKEN}"
- "--probe.docker=true"
- "--service-token=${SCOPE_SERVICE_TOKEN}"

**Docker Compose Format Version 2:**

Expand All @@ -199,10 +195,8 @@ After it’s been launched, open your web browser to [https://cloud.weave.works]
volumes:
- "/var/run/docker.sock:/var/run/docker.sock:rw"
command:
- "--probe.docker"
- "true"
- "--service-token"
- "${SCOPE_SERVICE_TOKEN}"
- "--probe.docker=true"
- "--service-token=${SCOPE_SERVICE_TOKEN}"

Version 2 of this YAML file supports networks and volumes as defined by any plugins you might be using. See [Compose File Reference](https://docs.docker.com/compose/compose-file/) for more information.

Expand Down

0 comments on commit a6e6131

Please sign in to comment.