demo/digitalocean: add a default client/server dual config
This commit is contained in:
parent
fde406265b
commit
673eb0c8f5
|
@ -0,0 +1,14 @@
|
|||
data_dir = "/tmp/nomad"
|
||||
log_level = "DEBUG"
|
||||
enable_debug = true
|
||||
bind_addr = "0.0.0.0"
|
||||
disable_update_check = true
|
||||
server {
|
||||
enabled = true
|
||||
bootstrap_expect = 1
|
||||
}
|
||||
client {
|
||||
enabled = true
|
||||
servers = ["127.0.0.1:4647"]
|
||||
node_class = "linux-64bit"
|
||||
}
|
|
@ -32,6 +32,11 @@
|
|||
"type": "file",
|
||||
"source": "upstart.nomad",
|
||||
"destination": "/etc/init/nomad"
|
||||
},
|
||||
{
|
||||
"type": "file",
|
||||
"source": "default.hcl",
|
||||
"destination": "/usr/local/etc/nomad.hcl"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue