Skip to content

Instantly share code, notes, and snippets.

@juanluisbaptiste
Last active December 13, 2022 02:17
Show Gist options
  • Save juanluisbaptiste/e428c5e9d45ec48d1cb5f9361a70660d to your computer and use it in GitHub Desktop.
Save juanluisbaptiste/e428c5e9d45ec48d1cb5f9361a70660d to your computer and use it in GitHub Desktop.
Nomad example server configuration file
data_dir = "/opt/nomad/data"
bind_addr = "0.0.0.0"
# Enable the server
server {
enabled = true
bootstrap_expect = SERVER_COUNT
}
consul {
address = "127.0.0.1:8500"
token = "CONSUL_TOKEN"
}
vault {
enabled = false
address = "http://active.vault.service.consul:8200"
task_token_ttl = "1h"
create_from_role = "nomad-cluster"
token = ""
}
acl {
enabled = true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment