2023-04-10 15:36:59 +00:00
|
|
|
# Copyright (c) HashiCorp, Inc.
|
|
|
|
# SPDX-License-Identifier: MPL-2.0
|
|
|
|
|
2018-04-12 23:24:25 +00:00
|
|
|
# Increase log verbosity
|
|
|
|
log_level = "DEBUG"
|
|
|
|
|
|
|
|
# Setup data dir
|
2020-02-03 16:50:43 +00:00
|
|
|
data_dir = "/tmp/nomad-dev-cluster/server3"
|
2019-07-20 14:55:07 +00:00
|
|
|
|
2018-04-12 23:24:25 +00:00
|
|
|
# Give the agent a unique name. Defaults to hostname
|
|
|
|
name = "server3"
|
|
|
|
|
|
|
|
# Enable the server
|
|
|
|
server {
|
|
|
|
enabled = true
|
|
|
|
|
2018-06-01 20:29:11 +00:00
|
|
|
server_join {
|
|
|
|
retry_join = ["127.0.0.1:4648", "127.0.0.1:5648"]
|
|
|
|
}
|
2018-04-12 23:24:25 +00:00
|
|
|
|
|
|
|
# Self-elect, should be 3 or 5 for production
|
|
|
|
bootstrap_expect = 3
|
|
|
|
}
|
|
|
|
|
|
|
|
ports {
|
|
|
|
http = 6646
|
2019-07-20 14:55:07 +00:00
|
|
|
rpc = 6647
|
2018-04-12 23:24:25 +00:00
|
|
|
serf = 6648
|
|
|
|
}
|