Skip to content

katopz/docker-stack-deploy-example

Repository files navigation

Source

Prerequisites

Upstream

curl -o swarm-cluster.sh https://raw.githubusercontent.com/vfarcic/docker-flow-proxy/master/scripts/swarm-cluster.sh

Swarm Cluster Setup

# Will create 3 nodes, taking sometime.
. swarm-cluster.sh

Creating Swarm Services Through Docker Stack Commands.

# Creating network
. setup-stack.sh

Cleanup

docker-machine rm -f node-1 node-2 node-3