Skip to content

Instantly share code, notes, and snippets.

View guce's full-sized avatar
🏠
Working from home

GU Ce guce

🏠
Working from home
View GitHub Profile
==> 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
==> 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
datacenter = "dc1"
log_level = "DEBUG"
data_dir = "/tmp/client1"
name = "client1"
client {
enabled = true
datacenter = "dc1"
log_level = "DEBUG"
data_dir = "/tmp/server1"
server {
enabled = true
bootstrap_expect = 1
job "example" {
datacenters = ["dc1"]
type = "service"
group "cache" {
count = 1
task "redis" {
driver = "docker"