github.com/superfly/nomad@v0.10.5-fly/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  # Give the agent a unique name. Defaults to hostname
     8  name = "client2"
     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 and client1
    21  ports {
    22    http = 5657
    23  }