Merge pull request #586 from rawmind0/master
Fix consul-registrator. Set bind inteface variable
This commit is contained in:
commit
d0d4fa5f4a
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user