nomad_config.hcl.tmpl
bind_addr = "0.0.0.0" # the default
data_dir = "/tmp/nomad"
advertise {
# Defaults to the node's hostname. If the hostname resolves to a loopback
# address you must manually configure advertise addresses.
http = "##HOST_IP##"
rpc = "##HOST_IP##"
serf = "##HOST_IP##:5648" # non-default ports may be specified
}
server {
enabled = true
bootstrap_expect = 1
}
client {
enabled = true
}
consul {
address = "##HOST_IP##:8500"
}