2019-06-11 19:13:27 +00:00
|
|
|
"advertise" = {
|
|
|
|
"http" = "host.example.com"
|
2019-07-20 14:55:07 +00:00
|
|
|
"rpc" = "host.example.com"
|
2019-06-11 19:13:27 +00:00
|
|
|
"serf" = "host.example.com"
|
|
|
|
}
|
|
|
|
|
|
|
|
"autopilot" = {
|
|
|
|
"cleanup_dead_servers" = true
|
|
|
|
}
|
|
|
|
|
|
|
|
"consul" = {
|
|
|
|
"client_auto_join" = false
|
|
|
|
"server_auto_join" = false
|
2019-07-20 14:55:07 +00:00
|
|
|
"token" = "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee"
|
2019-06-11 19:13:27 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
vault = {
|
|
|
|
enabled = true
|
|
|
|
}
|
2020-03-22 16:17:33 +00:00
|
|
|
|
|
|
|
audit {
|
|
|
|
enabled = true
|
|
|
|
|
|
|
|
sink "file" {
|
|
|
|
type = "file"
|
|
|
|
format = "json"
|
|
|
|
delivery_guarantee = "enforced"
|
|
|
|
path = "/opt/nomad/audit.log"
|
|
|
|
rotate_bytes = 100
|
|
|
|
rotate_duration = "24h"
|
|
|
|
rotate_max_files = 10
|
|
|
|
}
|
|
|
|
|
|
|
|
filter "default" {
|
|
|
|
type = "HTTPEvent"
|
2020-03-30 14:03:11 +00:00
|
|
|
endpoints = ["/v1/metrics"]
|
2020-03-22 16:17:33 +00:00
|
|
|
stages = ["*"]
|
|
|
|
operations = ["*"]
|
|
|
|
}
|
|
|
|
}
|