hashipi

Raspberry Pi Test Cluster for HashiCorp Vault, Nomad and Consul
git clone https://git.in0rdr.ch/hashipi.git
Log | Files | Refs | README

commit fb219e0ac6944cab2a6aef4f4ac6afe967166f17
parent 7234a3eba572418a0e60ab9f5abbbe21ba725736
Author: Andreas Gruhler <agruhl@gmx.ch>
Date:   Mon, 24 Jan 2022 22:22:13 +0100

add consul client_addr

Diffstat:
Mconsul.sh | 8++++++--
1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/consul.sh b/consul.sh @@ -64,8 +64,13 @@ ports { # Multiple private IPv4 addresses found. Please configure one with 'bind' and/or 'advertise', # common error mentioned at https://www.consul.io/docs/troubleshoot/common-errors +# The address that should be bound to for internal cluster communications. bind_addr = "{{GetInterfaceIP \"eth0\"}}" +# The address to which Consul will bind client interfaces. +# By default, this is "127.0.0.1", allowing only loopback connections. +client_addr = "{{GetInterfaceIP \"eth0\"}}" + performance { raft_multiplier = 1 } @@ -123,4 +128,4 @@ export CONSUL_HTTP_ADDR="https://127.0.0.1:8501" export CONSUL_CACERT="/opt/consul/tls/consul-agent-ca.pem" export CONSUL_CLIENT_CERT="/opt/consul/tls/dc1-cli-consul.pem" export CONSUL_CLIENT_KEY="/opt/consul/tls/dc1-cli-consul-key.pem" -EOF -\ No newline at end of file +EOF