open-nomad/demo/vagrant/client2.hcl
Alex Dadgar 8a641a8672 Make container exist errors non-retriable
This change makes it so that the task runner does not retry container
exists errors and also a sleep is added on the local retry.
2016-11-25 19:22:58 -08:00

32 lines
592 B
HCL

# Increase log verbosity
log_level = "DEBUG"
# 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 {
ssd = "true"
}
}
# Modify our port to avoid a collision with server1 and client1
ports {
http = 5657
}
advertise {
http = "localhost"
rpc = "localhost"
serf = "localhost"
}