github.com/bigcommerce/nomad@v0.9.3-bc/e2e/consultemplate/input/docker.nomad (about)

     1  job "test1" {
     2    datacenters = ["dc1", "dc2"]
     3    type        = "service"
     4  
     5    group "test1" {
     6      count = 1
     7  
     8      task "test" {
     9        driver = "docker"
    10  
    11        config {
    12          image = "redis:3.2"
    13        }
    14  
    15        template {
    16          data        = "---\nkey: {{ key \"consultemplatetest\" }}"
    17          destination = "local/file.yml"
    18          change_mode = "restart"
    19        }
    20      }
    21    }
    22  }