github.com/Ilhicas/nomad@v1.0.4-0.20210304152020-e86851182bc3/jobspec/test-fixtures/task-nested-config.hcl (about)

     1  job "foo" {
     2    task "bar" {
     3      driver = "docker"
     4  
     5      config {
     6        image = "hashicorp/image"
     7  
     8        port_map {
     9          db = 1234
    10        }
    11      }
    12    }
    13  }