2015-09-23 05:48:39 +00:00
|
|
|
# Increase log verbosity
|
2016-03-16 22:42:27 +00:00
|
|
|
log_level = "DEBUG"
|
2015-09-23 05:48:39 +00:00
|
|
|
|
|
|
|
# Setup data dir
|
|
|
|
data_dir = "/tmp/client2"
|
|
|
|
|
|
|
|
# Enable the client
|
|
|
|
client {
|
|
|
|
enabled = true
|
|
|
|
|
|
|
|
# For demo assume we are talking to server1. For production,
|
|
|
|
# this should be like "nomad.service.consul:4647" and a system
|
|
|
|
# like Consul used for service discovery.
|
|
|
|
servers = ["127.0.0.1:4647"]
|
|
|
|
|
|
|
|
# Set ourselves as thing one
|
|
|
|
meta {
|
2016-01-29 23:31:32 +00:00
|
|
|
ssd = "true"
|
2015-09-23 05:48:39 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
# Modify our port to avoid a collision with server1 and client1
|
|
|
|
ports {
|
|
|
|
http = 5657
|
|
|
|
}
|