[base]
path = {base}
default = master
key = dm_cluster

[master]
image = consul
port = 8500,8600
volumes = {container}conf/service/consul:/root/consul/config
command = consul -server -bootstrap-expect 3 -data-dir /root/consul/data -config-dir /root/consul/config -client 0.0.0.0 -node={name}
slave = 2
slave_command = consul -server -data-dir /root/consul/data -config-dir /root/consul/config -client 0.0.0.0 -node={name} -join={parent}


[#manage]
port = 8088:8088