Created
February 16, 2016 23:48
-
-
Save diptanu/6079803aeeac9cf92b02 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# THIS IS AN EXAMPLE | |
# Increase log verbosity | |
log_level = "INFO" | |
# Setup data dir | |
data_dir = "/tmp/client1" | |
enable_debug = true | |
# 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"] | |
options { | |
"driver.raw_exec.enable" = "1" | |
"consul.address" = "127.0.0.1:8500" | |
} | |
} | |
addresses { | |
http = "127.0.0.1" | |
} | |
# Modify our port to avoid a collision with server1 | |
ports { | |
http = 5656 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment