Provides a super simple GUI based on https://github.com/andlabs/ui to manage notebooks on an RCS swarm:
To run:
- Clone this repo
- Start interlock on your cluster
- Set up DNS and DNS wildcards
- Update the
.env
file with your own settings forDOMAIN_NAME
docker run -d \
--name interlock \
-p 80:80 \
-P \
--hostname i4.odewahn.com \
--volumes-from swarm-data \
ehazlett/interlock \
--swarm-url $DOCKER_HOST \
--swarm-tls-ca-cert=/etc/docker/ca.pem \
--swarm-tls-cert=/etc/docker/server-cert.pem \
--swarm-tls-key=/etc/docker/server-key.pem \
--plugin haproxy start
- Copy a cert file for the cluster to you machine
- Edit the
.env
file to point to your cert go get
to grab dependencies
Then, once you've done this:
go run *.go
GOOS=linux go build -a -installsuffix cgo -o rcs-manager .
docker build --no-cache -t swarm-manager .
Then, once you build the binary, you have to do chmod +x rcs-manager
for it to be executable
- https://github.com/andlabs/ui -- UI client library
- https://godoc.org/github.com/andlabs/ui --- Godocs for the UI library
- https://github.com/samalba/dockerclient -- Docker client clibrary documentation
- http://www.gtk.org/features.php