mirror of
https://github.com/kemko/nomad.git
synced 2026-01-01 16:05:42 +03:00
devcluster: Add standalone server
This adds a single-node configuration of a dev cluster, for use when testing things that require state restoration or multiple clients, but don't necessarily require a 3+ node cluster.
This commit is contained in:
15
dev/cluster/server-standalone.hcl
Normal file
15
dev/cluster/server-standalone.hcl
Normal file
@@ -0,0 +1,15 @@
|
||||
# Increase log verbosity
|
||||
log_level = "DEBUG"
|
||||
|
||||
# Setup data dir
|
||||
data_dir = "/tmp/serverstandalone"
|
||||
|
||||
# Give the agent a unique name. Defaults to hostname
|
||||
name = "serverstandalone"
|
||||
|
||||
# Enable the server
|
||||
server {
|
||||
enabled = true
|
||||
|
||||
bootstrap_expect = 1
|
||||
}
|
||||
Reference in New Issue
Block a user