github.com/smithx10/nomad@v0.9.1-rc1/e2e/upgrades/server2.hcl (about)

     1  # Increase log verbosity
     2  log_level = "DEBUG"
     3  
     4  # Setup data dir
     5  data_dir = "/tmp/server2"
     6  
     7  # Give the agent a unique name. Defaults to hostname
     8  name = "server2"
     9  
    10  # Enable the server
    11  server {
    12    enabled = true
    13  
    14    server_join {
    15      retry_join = ["127.0.0.1:4648", "127.0.0.1:6648"]
    16    }
    17  
    18    # Self-elect, should be 3 or 5 for production
    19    bootstrap_expect = 3
    20  }
    21  
    22  ports {
    23    http = 5646
    24    rpc = 5647
    25    serf = 5648
    26  }