You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+10-2
Original file line number
Diff line number
Diff 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)
2
2
3
3
This repo gives a few examples of patterns for how you might build Docker Swarm clusters with all the bells and whistles.
4
4
@@ -38,7 +38,7 @@ You can do all this locally on a single node or optionally using Docker Machine
38
38
39
39
The scripts and compose/stack files use variables to make this demo easier to get started. Set these at your shell before running commands
40
40
41
-
```
41
+
```shell
42
42
# for Digital Ocean docker-machine driver
43
43
SSH_FINGERPRINT #fingerprint used to match your SSH key to Digital Ocean's
44
44
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:
63
63
64
64
### Step 3: Enable Docker Engine Metrics
65
65
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
+
66
74
### Step 4: Initialize Swarm and Join Nodes
67
75
68
76
### Step 5: Enable Persistent Storage with REX-Ray
0 commit comments