41 lines
744 B
HCL
41 lines
744 B
HCL
"advertise" = {
|
|
"http" = "host.example.com"
|
|
"rpc" = "host.example.com"
|
|
"serf" = "host.example.com"
|
|
}
|
|
|
|
"autopilot" = {
|
|
"cleanup_dead_servers" = true
|
|
}
|
|
|
|
"consul" = {
|
|
"client_auto_join" = false
|
|
"server_auto_join" = false
|
|
"token" = "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee"
|
|
}
|
|
|
|
vault = {
|
|
enabled = true
|
|
}
|
|
|
|
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"
|
|
endpoints = ["/v1/metrics"]
|
|
stages = ["*"]
|
|
operations = ["*"]
|
|
}
|
|
}
|