github.com/ncodes/nomad@v0.5.7-0.20170403112158-97adf4a74fb3/demo/vagrant/client2.hcl (about)

     1  # Increase log verbosity
     2  log_level = "DEBUG"
     3  
     4  # Setup data dir
     5  data_dir = "/tmp/client2"
     6  
     7  # Enable the client
     8  client {
     9      enabled = true
    10      no_host_uuid = true
    11  
    12      # For demo assume we are talking to server1. For production,
    13      # this should be like "nomad.service.consul:4647" and a system
    14      # like Consul used for service discovery.
    15      servers = ["127.0.0.1:4647"]
    16  
    17      # Set ourselves as thing one
    18      meta {
    19          ssd = "true"
    20      }
    21  }
    22  
    23  # Modify our port to avoid a collision with server1 and client1
    24  ports {
    25      http = 5657
    26  }
    27  
    28  advertise {
    29    http = "localhost"
    30    rpc = "localhost"
    31    serf = "localhost"
    32  }