Created
January 22, 2017 00:02
-
-
Save vfarcic/57422c77223d40e97320900fcf76a550 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd cloud-provisioning | |
git pull | |
scripts/dm-swarm.sh | |
docker-machine ssh swarm-1 | |
docker network create --driver overlay proxy | |
curl -o docker-compose-stack.yml \ | |
https://raw.githubusercontent.com/\ | |
vfarcic/docker-flow-proxy/master/docker-compose-stack.yml | |
docker stack deploy \ | |
-c docker-compose-stack.yml proxy | |
docker stack ps proxy | |
curl -o docker-compose-go-demo.yml \ | |
https://raw.githubusercontent.com/\ | |
vfarcic/go-demo/master/docker-compose-stack.yml | |
docker stack deploy \ | |
-c docker-compose-go-demo.yml go-demo | |
docker stack ps go-demo | |
curl -i "localhost/demo/hello" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@vfarcic - Based on the book, it looks like line 7 should be
eval $(docker-machine env swarm-1)