github.com/Ilhicas/nomad@v1.0.4-0.20210304152020-e86851182bc3/jobspec/test-fixtures/multi-network.hcl (about)

     1  job "binstore-storagelocker" {
     2    group "binsl" {
     3      count = 5
     4  
     5      task "binstore" {
     6        driver = "docker"
     7  
     8        resources {
     9          cpu    = 500
    10          memory = 128
    11  
    12          network {
    13            mbits          = "100"
    14            reserved_ports = [1, 2, 3]
    15            dynamic_ports  = ["HTTP", "HTTPS", "ADMIN"]
    16          }
    17  
    18          network {
    19            mbits          = "128"
    20            reserved_ports = [1, 2, 3]
    21            dynamic_ports  = ["HTTP", "HTTPS", "ADMIN"]
    22          }
    23        }
    24      }
    25    }
    26  }