7dcea6a37f
Give demo agents unique names to improve `nomad node status` output. Since the agents default to the hostname, they all had the same name whether using the root or demo Vagrantfiles.
17 lines
281 B
HCL
17 lines
281 B
HCL
# Increase log verbosity
|
|
log_level = "DEBUG"
|
|
|
|
# Setup data dir
|
|
data_dir = "/tmp/server1"
|
|
|
|
# Give the agent a unique name. Defaults to hostname
|
|
name = "server1"
|
|
|
|
# Enable the server
|
|
server {
|
|
enabled = true
|
|
|
|
# Self-elect, should be 3 or 5 for production
|
|
bootstrap_expect = 1
|
|
}
|