65fb8ba637
Consolidate all nomad data dir in a single root `/tmp/nomad-dev-cluster`. Eases clean up. Allow running script from any path - don't require devs to cd into `dev/cluster` directory first. Also, block while nomad processes are running and prapogate SIGTERM/SIGINT to nomad processes to shutdown.
16 lines
269 B
HCL
16 lines
269 B
HCL
# Increase log verbosity
|
|
log_level = "DEBUG"
|
|
|
|
# Setup data dir
|
|
data_dir = "/tmp/nomad-dev-cluster/serverstandalone"
|
|
|
|
# Give the agent a unique name. Defaults to hostname
|
|
name = "serverstandalone"
|
|
|
|
# Enable the server
|
|
server {
|
|
enabled = true
|
|
|
|
bootstrap_expect = 1
|
|
}
|