Skip to content

Instantly share code, notes, and snippets.

@schmichael
Created April 11, 2023 00:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save schmichael/916036792c6ae1b8aa424e9677c8fd34 to your computer and use it in GitHub Desktop.
Save schmichael/916036792c6ae1b8aa424e9677c8fd34 to your computer and use it in GitHub Desktop.
Nomad Client/Server Agent configs
enable_debug = true
log_level = "debug"
name = "mixed1"
data_dir = "/tmp/nomad-mixed1"
client {
enabled = true
servers = ["127.0.0.1:4647"]
}
server {
enabled = true
bootstrap_expect = 3
}
plugin "raw_exec" {
config {
enabled = true
}
}
enable_debug = true
log_level = "debug"
name = "mixed2"
data_dir = "/tmp/nomad-mixed2"
client {
enabled = true
servers = ["127.0.0.1:4647"]
}
server {
enabled = true
bootstrap_expect = 3
}
ports {
http = 4656
rpc = 4657
serf = 4658
}
plugin "raw_exec" {
config {
enabled = true
}
}
enable_debug = true
log_level = "debug"
name = "mixed3"
data_dir = "/tmp/nomad-mixed3"
client {
enabled = true
servers = ["127.0.0.1:4647"]
}
server {
enabled = true
bootstrap_expect = 3
}
ports {
http = 4666
rpc = 4667
serf = 4668
}
plugin "raw_exec" {
config {
enabled = true
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment