This file contains hidden or 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
==> Loaded configuration from client.hcl | |
==> Starting Nomad agent... | |
==> Nomad agent configuration: | |
Advertise Addrs: HTTP: 10.0.0.32:4646 | |
Bind Addrs: HTTP: 0.0.0.0:4646 | |
Client: true | |
Log Level: DEBUG | |
Region: global (DC: dc1) | |
Server: false |
This file contains hidden or 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
==> Loaded configuration from server.hcl | |
==> Starting Nomad agent... | |
==> Nomad agent configuration: | |
Advertise Addrs: HTTP: 10.0.0.31:4646; RPC: 10.0.0.31:4647; Serf: 10.0.0.31:4648 | |
Bind Addrs: HTTP: 0.0.0.0:4646; RPC: 0.0.0.0:4647; Serf: 0.0.0.0:4648 | |
Client: false | |
Log Level: DEBUG | |
Region: global (DC: dc1) | |
Server: true |
This file contains hidden or 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
datacenter = "dc1" | |
log_level = "DEBUG" | |
data_dir = "/tmp/client1" | |
name = "client1" | |
client { | |
enabled = true |
This file contains hidden or 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
datacenter = "dc1" | |
log_level = "DEBUG" | |
data_dir = "/tmp/server1" | |
server { | |
enabled = true | |
bootstrap_expect = 1 |
This file contains hidden or 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
job "example" { | |
datacenters = ["dc1"] | |
type = "service" | |
group "cache" { | |
count = 1 | |
task "redis" { | |
driver = "docker" |