Merge pull request #586 from rawmind0/master

Fix consul-registrator. Set bind inteface variable
This commit is contained in:
Raúl Sánchez
2017-08-10 19:15:41 +02:00
committed by GitHub
2 changed files with 6 additions and 1 deletions
@@ -44,7 +44,7 @@ consul:
- -client=0.0.0.0
environment:
CONSUL_LOCAL_CONFIG: "{\"leave_on_terminate\": true, \"datacenter\": \"${consul_datacenter}\"}"
CONSUL_BIND_INTERFACE: eth0
CONSUL_BIND_INTERFACE: ${consul_bind_interface}
volumes_from:
- consul-data
log_opt: {}
@@ -13,3 +13,8 @@
type: "string"
required: true
default: "dc1"
- variable: consul_bind_interface
label: "Consul Bind Interface"
type: "string"
required: true
default: "eth0"