curl -o dm-swarm.sh \
https://raw.githubusercontent.com/vfarcic/cloud-provisioning/master/scripts/dm-swarm.sh
chmod +x dm-swarm.sh
eval $(docker-machine env swarm-1)
docker network create --driver overlay proxy
curl -o proxy.yml \
https://raw.githubusercontent.com/vfarcic/docker-flow-stacks/master/proxy/docker-flow-proxy.yml
CONNECTION_MODE=http-keep-alive \
docker stack deploy \
-c proxy.yml \
proxy
docker stack ps proxy
curl -o portainer.yml \
https://raw.githubusercontent.com/vfarcic/docker-flow-stacks/master/docker/portainer-df-proxy.yml
docker stack deploy \
-c portainer.yml \
portainer
docker stack ps portainer # Wait until it's running
open "http://$(docker-machine ip swarm-1)/portainer/"
Created
April 28, 2017 13:10
-
-
Save vfarcic/cb4db5ee770d06dbb66a2bc2379d44fc to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment