{"id":13588438,"url":"https://github.com/yandeu/docker-swarm-visualizer","last_synced_at":"2025-07-22T01:04:59.356Z","repository":{"id":43115961,"uuid":"381140946","full_name":"yandeu/docker-swarm-visualizer","owner":"yandeu","description":"🐋 A Visualizer for Docker Swarm using the Docker Engine API and Node.js.","archived":false,"fork":false,"pushed_at":"2024-02-01T19:49:07.000Z","size":179,"stargazers_count":38,"open_issues_count":5,"forks_count":9,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-06-19T09:49:15.928Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yandeu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2021-06-28T19:30:04.000Z","updated_at":"2025-05-10T09:07:04.000Z","dependencies_parsed_at":"2024-04-18T19:02:00.396Z","dependency_job_id":null,"html_url":"https://github.com/yandeu/docker-swarm-visualizer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/yandeu/docker-swarm-visualizer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yandeu%2Fdocker-swarm-visualizer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yandeu%2Fdocker-swarm-visualizer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yandeu%2Fdocker-swarm-visualizer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yandeu%2Fdocker-swarm-visualizer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yandeu","download_url":"https://codeload.github.com/yandeu/docker-swarm-visualizer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yandeu%2Fdocker-swarm-visualizer/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266405405,"owners_count":23923536,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-21T11:47:31.412Z","response_time":64,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T15:06:42.949Z","updated_at":"2025-07-22T01:04:59.331Z","avatar_url":"https://github.com/yandeu.png","language":"TypeScript","readme":"# Docker Swarm Visualizer\n\n\u003ca href=\"https://raw.githubusercontent.com/yandeu/docker-swarm-visualizer/main/readme/screenshot.png\"\u003e\n   \u003cimg width=\"850\" alt=\"screenshot\" src=\"https://raw.githubusercontent.com/yandeu/docker-swarm-visualizer/main/readme/screenshot.png\"\u003e\n\u003c/a\u003e\n\n## 🥳 New\n\nIf you like this Docker Swarm Visualizer,  \nyou should also check out the new [Visualizer written in Rust](https://hub.docker.com/r/yandeu/visualizer-rs).\n\n## Features / Tasks\n\n- 📺 **Real-Time Monitoring**  \n  Monitor your Swarm Cluster in Real-Time.\n\n- 🎚️ **Vertical Service Autoscaler** (beta)  \n  Automatically scale your services up and down based on CPU usage.\n\n- 📦 **Automated Image Updates** (beta)  \n  Automatically pulls the latest images from your Registry.\n\n- 🚀 **Drag and Drop Deployment** (beta)  \n  Easily deploy Stacks and Secrets via Drag and Drop.\n\n- 🧼 **Auto Clean your Swarm** (in planning)  \n  Remove unused Images and dangling Containers.\n\n- 🏷️ **Auto Subnet Labeling** (beta)  \n  Detects in which subnet your node is to better spread your containers.\n\n- 🪝 **Webhooks** (in planning)  \n  Send useful logs/events to your own servers.\n\n## Links\n\n- [`github.com`](https://github.com/yandeu/docker-swarm-visualizer)\n- [`hub.docker.com`](https://hub.docker.com/r/yandeu/visualizer)\n\n## Video\n\nQuick introduction [Video on YouTube](https://youtu.be/IEIJm5h7uQs).\n\n## Info\n\nMinimum Docker API = 1.41 (Run `docker version` to check your API version)\n\n## Getting Started\n\n1. Make sure you are using docker in swarm mode (`docker swarm init`).  \n```markdown\n# make sure the required ports are open\nTCP port 2377 for cluster management communications  \nTCP and UDP port 7946 for communication among nodes  \nUDP port 4789 for overlay network traffic  \n```\n\n2. Make sure you can access your swarm on port **9500/tcp**.\n\n3. Make sure the nodes can communicate with each other on port **9501/tcp**.\n\n4. Deploy the Visualizer\n\n   ```bash\n   # Download the Stack File (from GitHub)\n   curl -L https://git.io/JcGlt -o visualizer.stack.yml\n\n   # Deploy the Stack\n   docker stack deploy -c visualizer.stack.yml visualizer\n   ```\n\n5. Open the Visualizer Dashboard  \n   [`http://127.0.0.1:9500`](http://127.0.0.1:9500) or [`http://[NODE_IP]:9500`](http://[NODE_IP]:9500)\n\n## Tasks\n\nAll tasks are either in Beta or in Development.\n\n### Drag and Drop Deployment\n\nSimply click on `⇪` and drag your files (stacks or secrets) into the Square.\n\n### Autoscaler\n\nTo enable and use the autoscaler add the env and labels below to your services:\n\n```yml\nservices:\n  manager:\n    environment:\n      - VISUALIZER_TASK=true\n      - VISUALIZER_TASK_AUTOSCALE=true\n\n  agent:\n    environment:\n      - VISUALIZER_TASK=true\n      - VISUALIZER_TASK_AUTOSCALE=true\n\n  your_app:\n    labels:\n      - visualizer.autoscale.min=1\n      - visualizer.autoscale.max=5\n      - visualizer.autoscale.up.cpu=0.2\n      - visualizer.autoscale.down.cpu=0.1\n```\n\n### Image Updates\n\n_For now, you can only update public images from docker hub. I will add support for private images and the GitHub's container registry soon._\n\nTo enable and use the auto updates add the env and labels below to your services:\n\n```yml\nservices:\n  manager:\n    environment:\n      - VISUALIZER_TASK=true\n      - VISUALIZER_TASK_AUTOUPDATE=true\n        # Check for an update every 6th hour (see: https://crontab.guru/)\n      - VISUALIZER_TASK_AUTOUPDATE_CRON=\"0 */6 * * *\"\n\n  agent:\n    environment:\n      - (nothing else to add here)\n\n  your_app:\n    labels:\n      - visualizer.autoupdate=true\n```\n\n### Subnet Labeling\n\nTo enable and use the subnet labeling add the env and labels below to your services:\n\n```yml\nservices:\n  manager:\n    environment:\n      - (nothing else to add here)\n\n  agent:\n    environment:\n      - VISUALIZER_TASK=true\n      - VISUALIZER_TASK_SUBNET=true\n    labels:\n      # Adjust the labels below to your subnet.\n      # In this example are 3 subnets in 3 different availability zones, which I call az1, az2 and az3.\n      # az1 in subnet 172.31.0.0/20, az2 in 172.31.16.0/20 and az3 in 172.31.32.0/20.\n      # You can name your subnets as you want.\n      - visualizer.subnet.az1=172.31.0.0/20\n      - visualizer.subnet.az2=172.31.16.0/20\n      - visualizer.subnet.az3=172.31.32.0/20\n\n      # for testing locally\n      - visualizer.subnet.local=192.168.0.0/16\n\n  your_app:\n    deploy:\n      placement:\n        preferences:\n          # spread this service out over the \"subnet\" label\n          - spread: node.labels.subnet\n```\n\n### Webhooks\n\n_Nothing here yet._\n","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyandeu%2Fdocker-swarm-visualizer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyandeu%2Fdocker-swarm-visualizer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyandeu%2Fdocker-swarm-visualizer/lists"}