aboutsummaryrefslogtreecommitdiff
path: root/example/example.nomad
blob: cf7e73c644491fdb34b001abca91cddfe0d9e704 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
job "example" {
  datacenters = ["dc1"]
  type        = "batch"

  group "example" {
    task "hello-world" {
      driver = "hello-world-example"

      config {
        greeting = "hello"
      }
    }
  }
}