2017-05-15 18:56:41 +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 {
|
|
|
|
enabled = true
|
|
|
|
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 {
|
|
|
|
enabled = false
|
2017-06-25 17:09:54 +00:00
|
|
|
address = "vault.service.consul"
|
2017-05-15 18:56:41 +00:00
|
|
|
task_token_ttl = "1h"
|
|
|
|
create_from_role = "nomad-cluster"
|
|
|
|
token = ""
|
|
|
|
}
|
|
|
|
|