github.com/taylorchu/nomad@v0.5.3-rc1.0.20170407200202-db11e7dd7b55/demo/vagrant/server.hcl (about)

     1  # Increase log verbosity
     2  log_level = "DEBUG"
     3  
     4  # Setup data dir
     5  data_dir = "/tmp/server1"
     6  
     7  # Enable the server
     8  server {
     9      enabled = true
    10  
    11      # Self-elect, should be 3 or 5 for production
    12      bootstrap_expect = 1
    13  }
    14  
    15  # Advertise must be set to a non-loopback address.
    16  # Defaults to the resolving the local hostname.
    17  #advertise {
    18  #    http = "10.0.2.1"
    19  #    rpc  = "10.0.2.1"
    20  #    serf = "10.0.2.1"
    21  #}