Skip to content

Instantly share code, notes, and snippets.

@juanluisbaptiste
Last active December 13, 2022 02:17
Show Gist options
  • Save juanluisbaptiste/3ca531849dcf0e8662457b0355c29488 to your computer and use it in GitHub Desktop.
Save juanluisbaptiste/3ca531849dcf0e8662457b0355c29488 to your computer and use it in GitHub Desktop.
Nomad example client configuration file
data_dir = "/opt/nomad/data"
bind_addr = "0.0.0.0"
datacenter = "dc1"
# Enable the client
client {
enabled = true
options {
"driver.raw_exec.enable" = "1"
"docker.privileged.enabled" = "true"
}
}
consul {
address = "127.0.0.1:8500"
token = "CONSUL_TOKEN"
}
vault {
enabled = true
address = "http://active.vault.service.consul:8200"
}
acl {
enabled = true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment