demo/digitalocean: add a default client/server dual config

This commit is contained in:
Ryan Uber 2015-09-23 13:07:17 -07:00
parent fde406265b
commit 673eb0c8f5
2 changed files with 19 additions and 0 deletions

View file

@ -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"
}

View file

@ -32,6 +32,11 @@
"type": "file", "type": "file",
"source": "upstart.nomad", "source": "upstart.nomad",
"destination": "/etc/init/nomad" "destination": "/etc/init/nomad"
},
{
"type": "file",
"source": "default.hcl",
"destination": "/usr/local/etc/nomad.hcl"
} }
] ]
} }