github.com/smithx10/nomad@v0.9.1-rc1/e2e/terraform/configs/indexed/server-1.hcl (about)

     1  data_dir = "/opt/nomad/data"
     2  bind_addr = "0.0.0.0"
     3  
     4  # Enable the server
     5  server {
     6    enabled = true
     7    bootstrap_expect = 3
     8  }
     9  
    10  consul {
    11    address = "127.0.0.1:8500"
    12  }
    13  
    14  vault {
    15    enabled = false
    16    address = "http://active.vault.service.consul:8200"
    17    task_token_ttl = "1h"
    18    create_from_role = "nomad-cluster"
    19    token = ""
    20  }
    21  
    22  telemetry {
    23    collection_interval = "1s"
    24    disable_hostname = true
    25    prometheus_metrics = true
    26    publish_allocation_metrics = true
    27    publish_node_metrics = true
    28  }