Skip to content

Commit a591389

Browse files
committed
Updating readme for DOCKER_SOCKET
1 parent ad79252 commit a591389

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ It also shows the CPU/Memory/Disk usage of your swarm node and containers.
1414

1515
## Usage
1616

17-
The dashboard needs to be deployed on one of the swarm managers.
17+
The dashboard can be deployed on one of the swarm managers.
1818
You can configure it with the following Docker compose file:
1919

2020
```yml
@@ -68,6 +68,8 @@ $ docker stack deploy -c compose.yml sd
6868

6969
Note that the usage of `node-exporter` and `cadvisor` are optional, to fetch node CPU/Memory/Disk usage and containers' CPU/Memory usage respectively. If you don't specify `NODE_EXPORTER_SERVICE_NAME_REGEX` and `CADVISOR_SERVICE_NAME_REGEX` envs, the default is not using this feature, because of backward compatibility.
7070

71+
If you prefer to deploy the dashboard on the worker nodes instead of the manager nodes (without the constraint `node.role == manager`), you can use the `DOCKER_SOCKET` configuration. Please check the following sections for more details.
72+
7173
## Advance Usage
7274

7375
List of environment variables for more customization:

0 commit comments

Comments
 (0)