Last active
December 13, 2022 02:17
-
-
Save juanluisbaptiste/e428c5e9d45ec48d1cb5f9361a70660d to your computer and use it in GitHub Desktop.
Nomad example server 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" | |
# 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