VCC Community Grid at Dallas Makerspace.
Project goals: build a platform as a service that any makerspace can use. Its as simple to setup for running anything in docker, anywheres.
Includes portainer, tick stack, auto scaling, auto upgrading, traefik based networking.
To expand the cluster build the new boot2docker vm, join the swarm cluster, deploy this to the master.
Global deployments are setup so once the hardware is available it should auto setup on additonal machines.
Key things to note.
orbiter: true
orbiter.up: ${REPLICAS}
orbiter.down: 1
traefik.enable: true
traefik.frontend.priority: 10
traefik.frontend.rule: Host: ${VIRTUAL_HOST}
docker-machine -d generic create ...
docker-machine ssh ... docker swarm init
eval $(docker-machine env ...)
docker stack deploy -f docker-compose.yml $(basename $(pwd))
... make changes ...
docker stack rm $(basename $(pwd)) && \
docker stack deploy -f docker-compose.yml $(basename $(pwd))