github.com/maier/nomad@v0.4.1-0.20161110003312-a9e3d0b8549d/demo/vagrant/client1_consul_bootstrap.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      node_class = "foo"
    19      options {
    20          "driver.raw_exec.enable" = "1"
    21      }
    22      reserved {
    23         cpu = 500
    24      }
    25  }
    26  
    27  # Modify our port to avoid a collision with server1
    28  ports {
    29      http = 5656
    30  }