2021-09-01 19:15:06 +00:00
|
|
|
data_dir = "/opt/nomad/data"
|
2017-08-04 18:00:05 +00:00
|
|
|
bind_addr = "0.0.0.0"
|
2017-05-15 18:56:41 +00:00
|
|
|
|
|
|
|
# Enable the server
|
|
|
|
server {
|
2021-09-01 19:15:06 +00:00
|
|
|
enabled = true
|
2017-05-15 18:56:41 +00:00
|
|
|
bootstrap_expect = SERVER_COUNT
|
|
|
|
}
|
|
|
|
|
|
|
|
consul {
|
2017-08-04 18:00:05 +00:00
|
|
|
address = "127.0.0.1:8500"
|
2017-05-15 18:56:41 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
vault {
|
2021-09-01 19:15:06 +00:00
|
|
|
enabled = false
|
|
|
|
address = "http://active.vault.service.consul:8200"
|
|
|
|
task_token_ttl = "1h"
|
2017-05-15 18:56:41 +00:00
|
|
|
create_from_role = "nomad-cluster"
|
2021-09-01 19:15:06 +00:00
|
|
|
token = ""
|
2017-05-15 18:56:41 +00:00
|
|
|
}
|
|
|
|
|