scottslowe-learning-tools/openstack/swarm-consul/docker-swarm.yml
Scott Lowe 43ab5524a2
Reorganize repository contents
Move contents into new folder structure based on primary technology

Signed-off-by: Scott Lowe <scott.lowe@scottlowe.org>
2017-02-23 16:12:37 -07:00

18 lines
567 B
YAML

heat_template_version: 2013-05-23
description: >
Heat template to deploy Docker containers to an existing host
parameters:
node-01:
type: string
label: First node IP address
description: IP address assigned to first Docker Swarm node
default: 172.16.6.21
resources:
swarm-coreos-01:
type: DockerInc::Docker::Container
properties:
image: swarm
hostname: coreos-01
name: swarm-coreos-01
docker_endpoint: "tcp://172.16.6.21:2375"
cmd: [ 'join', '--addr=172.16.6.21:2375', 'etcd://172.16.6.21:4001/swarm-test']