2015-09-23 05:48:39 +00:00
|
|
|
# Increase log verbosity
|
2016-02-24 18:42:16 +00:00
|
|
|
log_level = "DEBUG"
|
2015-09-23 05:48:39 +00:00
|
|
|
|
|
|
|
# Setup data dir
|
|
|
|
data_dir = "/tmp/client1"
|
|
|
|
|
2016-02-10 21:44:53 +00:00
|
|
|
enable_debug = true
|
|
|
|
|
2015-09-23 05:48:39 +00:00
|
|
|
# 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
|
|
|
|
}
|
2015-09-23 05:48:39 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
# Modify our port to avoid a collision with server1
|
|
|
|
ports {
|
|
|
|
http = 5656
|
|
|
|
}
|