github.com/quite/nomad@v0.8.6/demo/vagrant/client1.hcl (about)

     1  # Increase log verbosity
     2  log_level = "DEBUG"
     3  
     4  # Setup data dir
     5  data_dir = "/tmp/client1"
     6  
     7  # Give the agent a unique name. Defaults to hostname
     8  name = "client1"
     9  
    10  # Enable the client
    11  client {
    12    enabled = true
    13  
    14    # For demo assume we are talking to server1. For production,
    15    # this should be like "nomad.service.consul:4647" and a system
    16    # like Consul used for service discovery.
    17    servers = ["127.0.0.1:4647"]
    18  }
    19  
    20  # Modify our port to avoid a collision with server1
    21  ports {
    22    http = 5656
    23  }