Add Consul Template

This commit is contained in:
galal-hussein
2016-02-18 02:04:51 +02:00
parent bc07f1db46
commit 8d40e8253c
5 changed files with 105 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
consul-conf:
image: husseingalal/consul-config
labels:
io.rancher.container.hostname_override: container_name
volumes_from:
- consul
net: "container:consul"
consul:
image: husseingalal/consul
labels:
io.rancher.sidekicks: consul-conf
volumes:
- /opt/rancher/ssl
- /opt/rancher/config
- /var/consul