github.com/maier/nomad@v0.4.1-0.20161110003312-a9e3d0b8549d/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  enable_debug = true
     8  
     9  name = "client1"
    10  
    11  # Enable the client
    12  client {
    13      enabled = true
    14  
    15      # For demo assume we are talking to server1. For production,
    16      # this should be like "nomad.service.consul:4647" and a system
    17      # like Consul used for service discovery.
    18      servers = ["127.0.0.1:4647"]
    19      node_class = "foo"
    20      options {
    21          "driver.raw_exec.enable" = "1"
    22      }
    23      reserved {
    24         cpu = 500
    25      }
    26  }
    27  
    28  # Modify our port to avoid a collision with server1
    29  ports {
    30      http = 5656
    31  }