Nomad now speaks IPv6
This commit is contained in:
parent
f9013d9ca5
commit
aba3ba723c
1 changed files with 8 additions and 8 deletions
|
@ -1,13 +1,13 @@
|
||||||
addresses {
|
addresses {
|
||||||
http = "0.0.0.0"
|
http = "::"
|
||||||
rpc = "0.0.0.0"
|
rpc = "::"
|
||||||
serf = "0.0.0.0"
|
serf = "::"
|
||||||
}
|
}
|
||||||
|
|
||||||
advertise {
|
advertise {
|
||||||
http = "{{ ipv4 }}"
|
http = "{{ ipv6 }}"
|
||||||
rpc = "{{ ipv4 }}"
|
rpc = "{{ ipv6 }}"
|
||||||
serf = "{{ ipv4 }}"
|
serf = "{{ ipv6 }}"
|
||||||
}
|
}
|
||||||
|
|
||||||
data_dir = "/var/lib/nomad"
|
data_dir = "/var/lib/nomad"
|
||||||
|
@ -18,13 +18,13 @@ server {
|
||||||
}
|
}
|
||||||
|
|
||||||
consul {
|
consul {
|
||||||
address="127.0.0.1:8500"
|
address="[::1]:8500"
|
||||||
}
|
}
|
||||||
|
|
||||||
client {
|
client {
|
||||||
enabled = true
|
enabled = true
|
||||||
#cpu_total_compute = 4000
|
#cpu_total_compute = 4000
|
||||||
servers = ["127.0.0.1:4648"]
|
servers = ["[::1]:4648"]
|
||||||
network_interface = "{{ interface }}"
|
network_interface = "{{ interface }}"
|
||||||
options {
|
options {
|
||||||
docker.privileged.enabled = "true"
|
docker.privileged.enabled = "true"
|
||||||
|
|
Reference in a new issue