github.com/kardianos/nomad@v0.1.3-0.20151022182107-b13df73ee850/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  
    11      # For demo assume we are talking to server1. For production,
    12      # this should be like "nomad.service.consul:4647" and a system
    13      # like Consul used for service discovery.
    14      servers = ["127.0.0.1:4647"]
    15  
    16      # Set ourselves as thing one
    17      meta {
    18          thing = "two"
    19      }
    20  }
    21  
    22  # Modify our port to avoid a collision with server1 and client1
    23  ports {
    24      http = 5657
    25  }