open-nomad/demo/vagrant/client1.hcl

38 lines
667 B
HCL
Raw Normal View History

# Increase log verbosity
2016-02-24 18:42:16 +00:00
log_level = "DEBUG"
# Setup data dir
data_dir = "/tmp/client1"
2016-02-10 21:44:53 +00:00
enable_debug = true
name = "client1"
# Enable the client
client {
enabled = true
# For demo assume we are talking to server1. For production,
# this should be like "nomad.service.consul:4647" and a system
# like Consul used for service discovery.
servers = ["127.0.0.1:4647"]
2016-01-30 00:42:09 +00:00
node_class = "foo"
2016-02-10 21:44:53 +00:00
options {
"driver.raw_exec.enable" = "1"
}
2016-06-11 21:40:51 +00:00
reserved {
cpu = 500
}
}
# Modify our port to avoid a collision with server1
ports {
http = 5656
}
advertise {
http = "localhost"
rpc = "localhost"
serf = "localhost"
}