github.com/iqoqo/nomad@v0.11.3-0.20200911112621-d7021c74d101/dev/docker-dev-env/client1.hcl (about)

     1  # Increase log verbosity
     2  log_level = "DEBUG"
     3  
     4  # Setup data dir
     5  data_dir = "/data/data/nomad/storage/client1"
     6  
     7  # Give the agent a unique name. Defaults to hostname
     8  name = "client1"
     9  
    10  # Enable the client
    11  client {
    12      enabled = true
    13  
    14      memory_total_mb = 1000
    15  
    16      # For demo assume we are talking to server1. For production,
    17      # this should be like "nomad.service.consul:4647" and a system
    18      # like Consul used for service discovery.
    19      servers = ["10.0.0.18:4647"]
    20  
    21    options = {
    22      "driver.raw_exec.enable" = "1"
    23    }
    24  
    25  }
    26  
    27  # Modify our port to avoid a collision with server1
    28  ports {
    29      http = 5656
    30  }