diff options
author | Alex Auvolat <alex@adnab.me> | 2022-11-28 11:33:28 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-28 11:33:28 +0100 |
commit | a9e5003ab305675d6be3c0f032772d0de38df969 (patch) | |
tree | d4280abc23e44488b7115dd150419351967b5ed2 /example/example.nomad | |
download | nomad-driver-nix2-a9e5003ab305675d6be3c0f032772d0de38df969.tar.gz nomad-driver-nix2-a9e5003ab305675d6be3c0f032772d0de38df969.zip |
Initial commit
Diffstat (limited to 'example/example.nomad')
-rw-r--r-- | example/example.nomad | 14 |
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" + } + } + } +} |