This commit is contained in:
parent
14bb963383
commit
9a35e3312b
@ -44,7 +44,7 @@ consul:
|
|||||||
- -client=0.0.0.0
|
- -client=0.0.0.0
|
||||||
environment:
|
environment:
|
||||||
CONSUL_LOCAL_CONFIG: "{\"leave_on_terminate\": true, \"datacenter\": \"${consul_datacenter}\"}"
|
CONSUL_LOCAL_CONFIG: "{\"leave_on_terminate\": true, \"datacenter\": \"${consul_datacenter}\"}"
|
||||||
CONSUL_BIND_INTERFACE: eth0
|
CONSUL_BIND_INTERFACE: ${consul_bind_interface}
|
||||||
volumes_from:
|
volumes_from:
|
||||||
- consul-data
|
- consul-data
|
||||||
log_opt: {}
|
log_opt: {}
|
||||||
|
@ -13,3 +13,8 @@
|
|||||||
type: "string"
|
type: "string"
|
||||||
required: true
|
required: true
|
||||||
default: "dc1"
|
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