mirror of
https://github.com/weaveworks/scope.git
synced 2026-07-16 03:49:52 +00:00
Merge pull request #2843 from weaveworks/more-precise-compose-instructions
More precise compose instructions
This commit is contained in:
@@ -114,7 +114,7 @@ Hostnames will be regularly resolved as A records, and each answer used as a tar
|
||||
|
||||
### <a name="docker-compose"></a>Using Docker Compose
|
||||
|
||||
To install Scope on your local Docker machine in Standalone Mode using Docker Compose, run the following commands using one of the two fragments below.
|
||||
To install Scope on your local Docker machine in Standalone Mode using Docker Compose, copy the contents of one of the two fragments below into a file `docker-compose.yml` and run
|
||||
|
||||
docker-compose up -d
|
||||
|
||||
@@ -196,6 +196,8 @@ Version 2 of this YAML file supports networks and volumes as defined by any plug
|
||||
|
||||
Version 2 of this YAML file supports a network mode that may be required with any Docker plugins that you are using. See [Compose File Reference](https://docs.docker.com/compose/compose-file/) for more information.
|
||||
|
||||
Copy the contents of one of the above fragments into a file `docker-compose.yml`.
|
||||
|
||||
**3.** Once you've set up a compose file, launch Scope onto your local machine:
|
||||
|
||||
SCOPE_SERVICE_TOKEN=<token> docker-compose up -d
|
||||
@@ -204,7 +206,7 @@ Where,
|
||||
|
||||
* `SCOPE_SERVICE_TOKEN=<token>` is the token you obtained after you signed up for Weave Cloud.
|
||||
|
||||
Note that you will need to launch Scope onto every node that you want to monitor.
|
||||
Note that you will need to launch Scope on every node that you want to monitor.
|
||||
|
||||
**4.** Go to [https://cloud.weave.works](https://cloud.weave.works) and click 'View Instance'.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user