Last active
December 13, 2022 02:17
-
-
Save juanluisbaptiste/3ca531849dcf0e8662457b0355c29488 to your computer and use it in GitHub Desktop.
Nomad example client configuration file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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