Skip to content

Commit 439d44b

Browse files
committed
more readme
1 parent a10c87a commit 439d44b

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

README.md

+10-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# dogvscat (Work In Progress. This How-To Isn't Finished Yet)
1+
# dogvscat (Work In Progress. Not a fully documented walk-through yet)
22

33
This repo gives a few examples of patterns for how you might build Docker Swarm clusters with all the bells and whistles.
44

@@ -38,7 +38,7 @@ You can do all this locally on a single node or optionally using Docker Machine
3838

3939
The scripts and compose/stack files use variables to make this demo easier to get started. Set these at your shell before running commands
4040

41-
```
41+
```shell
4242
# for Digital Ocean docker-machine driver
4343
SSH_FINGERPRINT #fingerprint used to match your SSH key to Digital Ocean's
4444
DO_SIZE #instance size for Digital Ocean to use for docker-machine
@@ -63,6 +63,14 @@ Then just create a single-node Swarm in that engine:
6363

6464
### Step 3: Enable Docker Engine Metrics
6565

66+
`./enable-monitoring.sh` simply overwrite `/etc/docker/daemon.json` (we assume it doesn't exist) with two options to enabling the metrics endpoint, which will help Prometheus with more metrics.
67+
```json
68+
{
69+
"metrics-addr" : "0.0.0.0:9323",
70+
"experimental" : true
71+
}
72+
```
73+
6674
### Step 4: Initialize Swarm and Join Nodes
6775

6876
### Step 5: Enable Persistent Storage with REX-Ray

0 commit comments

Comments
 (0)