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

     1  data_dir = "/opt/nomad/data"
     2  bind_addr = "0.0.0.0"
     3  datacenter = "dc2"
     4  # Enable the client
     5  client {
     6    enabled = true
     7    options {
     8      "driver.raw_exec.enable" = "1"
     9      "docker.privileged.enabled" = "true"
    10    }
    11    meta {
    12      "rack" = "r1"
    13    }
    14  }
    15  
    16  consul {
    17    address = "127.0.0.1:8500"
    18  }
    19  
    20  vault {
    21    enabled = true
    22    address = "http://active.vault.service.consul:8200"
    23  }
    24  
    25  telemetry {
    26    collection_interval = "1s"
    27    disable_hostname = true
    28    prometheus_metrics = true
    29    publish_allocation_metrics = true
    30    publish_node_metrics = true
    31  }