https://github.com/lreimer/swarm-minipad
Visualise and manage Docker swarm containers using a Novation Launchpad Mini MK2.
https://github.com/lreimer/swarm-minipad
devops docker docker-swarm graal-native graalvm java midi midi-controller swarm
Last synced: 3 months ago
JSON representation
Visualise and manage Docker swarm containers using a Novation Launchpad Mini MK2.
- Host: GitHub
- URL: https://github.com/lreimer/swarm-minipad
- Owner: lreimer
- License: mit
- Created: 2019-12-19T16:31:43.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-12-20T15:09:33.000Z (over 5 years ago)
- Last Synced: 2025-03-05T15:02:18.483Z (4 months ago)
- Topics: devops, docker, docker-swarm, graal-native, graalvm, java, midi, midi-controller, swarm
- Language: Java
- Size: 81.1 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Docker Swarm Minipad
Visualise and manage Docker swarm containers using a Novation Launchpad Mini MK2.
## Building and Running
```bash
$ ./gradlew clean ass$ docker swarm init
$ docker stack deploy --orchestrator swarm -c src/test/resources/test-stack.yaml test$ ./gradlew run --args="-f src/test/resources/swarm-config.json"
$ ./gradlew graalNativeImage
$ cd build
$ ./swarm-minipad -f ../src/test/resources/swarm-config.json
```## Configuration
We are using the default configuration of the Docker Java Client. Different ways of
configuration are found here: https://github.com/docker-java/docker-java:attention: The default configuration using Unix sockets only works for Linux, because the Unit Socket
Factory dependency only includes the native libraries for this platform.For development under MacOS the following worked for me:
```bash
$ brew install socat
$ socat -4 TCP-LISTEN:2375,fork UNIX-CONNECT:/var/run/docker.sock
```## Maintainer
M.-Leander Reimer (@lreimer),
## License
This software is provided under the MIT open source license, read the `LICENSE`
file for details.