Skip to content

Instantly share code, notes, and snippets.

@dky
Created August 18, 2021 20:26
Show Gist options
  • Save dky/8814d8155501197fea575dbb2c5b275c to your computer and use it in GitHub Desktop.
Save dky/8814d8155501197fea575dbb2c5b275c to your computer and use it in GitHub Desktop.
nomad.hcl
client {
enabled = false
servers = ["127.0.0.1"]
}
server {
enabled = true
bootstrap_expect = 1
}
datacenter = "nyc3"
disable_update_check = true
data_dir = "/nomad/data/"
bind_addr = "0.0.0.0"
advertise {
http = "192.168.4.2:4646"
rpc = "192.168.4.2:4647"
serf = "192.168.4.2:4648"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment