Docker Swarm Dashboard

Dashboard

Docker Swarm Cluster Dashboard
Last updated: 2 months ago

Downloads: 93

  • SwarmDashboard.PNG
    SwarmDashboard.PNG

docker network create --driver overlay monitoring

echo "Creating the [influxdb] service" docker service create
--network monitoring
--publish=8083:8083
--publish=8086:8086
--mount=type=bind,source=/opt/influxdb/data,target=/var/lib/influxdb
--name=influxdb
--constraint=node.role==manager
influxdb:alpine

echo "Creating the [cadvisor] service"
docker service create
--network monitoring
--name cadvisor
--mode global
--mount type=bind,source=/var/run,target=/var/run,readonly=false
--mount type=bind,source=/,target=/rootfs,readonly=true
--mount type=bind,source=/sys,target=/sys,readonly=true
--mount type=bind,source=/var/lib/docker,target=/var/lib/docker,readonly=true
google/cadvisor -storage_driver=influxdb -storage_driver_host=influxdb:8086
-storage_driver_db=cadvisor

echo "Creating the [grafana] service"
docker service create
--network monitoring
--publish=3000:3000
-e "GF_SECURITY_ADMIN_PASSWORD=admin"
--constraint=node.role==manager
--name grafana grafana/grafana

Download Dashboard
Dependencies: