hashi-stack/nomad/server.hcl

24 lines
299 B
HCL
Raw Normal View History

2020-05-19 06:37:21 +02:00
# /etc/nomad.d/server.hcl
datacenter = "us-west-1"
data_dir = "/etc/nomad.d/"
server {
enabled = true
bootstrap_expect = 1
}
name = "NODENAME"
bind_addr = "PRIVATEIP"
consul {
address = "SERVERIP:8500"
}
advertise {
http = "SERVERIP"
rpc = "SERVERIP"
serf = "SERVERIP"
}