forked from Deuxfleurs/infrastructure
34 lines
477 B
Django/Jinja
34 lines
477 B
Django/Jinja
addresses {
|
|
http = "::"
|
|
rpc = "::"
|
|
serf = "::"
|
|
}
|
|
|
|
advertise {
|
|
http = "{{ ipv6 }}"
|
|
rpc = "{{ ipv6 }}"
|
|
serf = "{{ ipv6 }}"
|
|
}
|
|
|
|
data_dir = "/var/lib/nomad"
|
|
|
|
server {
|
|
enabled = true
|
|
bootstrap_expect = 3
|
|
}
|
|
|
|
consul {
|
|
address="[::1]:8500"
|
|
}
|
|
|
|
client {
|
|
enabled = true
|
|
#cpu_total_compute = 4000
|
|
servers = ["[::1]:4648"]
|
|
network_interface = "{{ interface }}"
|
|
options {
|
|
docker.privileged.enabled = "true"
|
|
docker.volumes.enabled = "true"
|
|
}
|
|
}
|
|
|