You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
1.0 KiB
40 lines
1.0 KiB
## |
|
## nomad.conf -- Nomad Server Configuration |
|
## |
|
|
|
data_dir = "@l_prefix@/var/nomad/data" |
|
log_level = "INFO" |
|
|
|
region = "global" |
|
datacenter = "dc1" |
|
name = "node1" |
|
|
|
bind_addr = "127.0.0.1" |
|
ports { |
|
http = 4646 |
|
rpc = 4647 |
|
serf = 4648 |
|
} |
|
|
|
server { |
|
enabled = true |
|
bootstrap_expect = 1 |
|
} |
|
|
|
client { |
|
enabled = true |
|
network_speed = 10 |
|
servers = [ "127.0.0.1:4647" ] |
|
options { |
|
"driver.raw_exec.enable" = 1 |
|
"consul.address" = "127.0.0.1:8500" |
|
"consul.token" = "" |
|
"consul.auth" = "" |
|
"consul.ssl" = true |
|
"consul.verifyssl" = false |
|
"consul.tls_ca_file" = "@l_prefix@/etc/x509/example-ca.crt.pem" |
|
"consul.tls_cert_file" = "@l_prefix@/etc/x509/example-server.crt.pem" |
|
"consul.tls_key_file" = "@l_prefix@/etc/x509/example-server.key.pem" |
|
} |
|
} |
|
|
|
|