open-nomad/dev/cluster/server2.hcl
2023-04-10 15:36:59 +00:00

30 lines
495 B
HCL

# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: MPL-2.0
# Increase log verbosity
log_level = "DEBUG"
# Setup data dir
data_dir = "/tmp/nomad-dev-cluster/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
rpc = 5647
serf = 5648
}