https://github.com/alloc7260/docker-swarm-remote-control
Controlling services on docker swarm remotely
https://github.com/alloc7260/docker-swarm-remote-control
Last synced: 2 months ago
JSON representation
Controlling services on docker swarm remotely
- Host: GitHub
- URL: https://github.com/alloc7260/docker-swarm-remote-control
- Owner: alloc7260
- Created: 2023-11-27T18:29:27.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-11-27T19:02:22.000Z (over 1 year ago)
- Last Synced: 2025-01-21T09:48:49.092Z (4 months ago)
- Language: Python
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Docker-swarm-remote-control
## Controlling services on docker swarm remotely
### Prerequisites
- Docker swarm with manager and worker nodes### Steps to go on
1. configure `app.py` if you want any custom changes
2. build docker image and push it to docker hub in a public repository (not necessary)
3. pull image on manager node or build it there
4. run given commands in `commands.sh` in manager node terminal to create flask and visualizer services### Steps to use
1. You can watch the visualizer on port 8080 of manager node's localhost to gain insights about current state of swarm and running containers
2. you can use curl requests given in `curl` to create or delete sercvice or read logs of running service### Constraints
* api key given in `commands.sh` must be send with every curl request in the json body