open-nomad/e2e/upgrades/server2.hcl

27 lines
409 B
HCL
Raw Normal View History

2019-01-29 17:25:47 +00:00
# Increase log verbosity
log_level = "DEBUG"
# Setup data dir
data_dir = "/tmp/server2"
# Give the agent a unique name. Defaults to hostname
name = "server2"
# Enable the server
server {
enabled = true
server_join {
retry_join = ["127.0.0.1:4648", "127.0.0.1:6648"]
}
# Self-elect, should be 3 or 5 for production
bootstrap_expect = 3
}
ports {
http = 5646
2019-07-20 14:55:07 +00:00
rpc = 5647
2019-01-29 17:25:47 +00:00
serf = 5648
}