aboutsummaryrefslogtreecommitdiff
path: root/example/example.nomad
diff options
context:
space:
mode:
Diffstat (limited to 'example/example.nomad')
-rw-r--r--example/example.nomad14
1 files changed, 14 insertions, 0 deletions
diff --git a/example/example.nomad b/example/example.nomad
new file mode 100644
index 0000000..cf7e73c
--- /dev/null
+++ b/example/example.nomad
@@ -0,0 +1,14 @@
+job "example" {
+ datacenters = ["dc1"]
+ type = "batch"
+
+ group "example" {
+ task "hello-world" {
+ driver = "hello-world-example"
+
+ config {
+ greeting = "hello"
+ }
+ }
+ }
+}