diff options
Diffstat (limited to 'example/example.hcl')
-rw-r--r-- | example/example.hcl | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/example/example.hcl b/example/example.hcl new file mode 100644 index 0000000..fbbe4ad --- /dev/null +++ b/example/example.hcl @@ -0,0 +1,19 @@ +job "example" { + datacenters = ["dc1"] + type = "batch" + + group "example" { + task "hello-world" { + driver = "exec2" + + config { + command = "/nix/store/y41s1vcn0irn9ahn9wh62yx2cygs7qjj-coreutils-8.32/bin/cat" + args = ["/host-etc/nscd.conf"] + bind_read_only = { + "/nix" = "/nix", + "/etc" = "/host-etc", + } + } + } + } +} |