From 58c29d1527fcdeaedc3fb2f072bc9666eb226e3f Mon Sep 17 00:00:00 2001 From: Robert Keizer Date: Thu, 26 Oct 2023 11:02:05 -0500 Subject: [PATCH] Revert "Delete group.nomad - as per Rob in Slack (temporary?)" This reverts commit 78469cf6dda525bae1eb87421d6d5d8f26b6c28e. --- group.nomad | 422 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 422 insertions(+) create mode 100644 group.nomad diff --git a/group.nomad b/group.nomad new file mode 100644 index 0000000..41cf78d --- /dev/null +++ b/group.nomad @@ -0,0 +1,422 @@ +task "cantaloupe" { + driver = "docker" + + lifecycle { + hook = "prestart" + sidecar = true + } + + config { + image = "uclalibrary/cantaloupe:5.0.5-7" + ports = [ "cantaloupe" ] + mount { + type = "bind" + target = "/etc/cantaloupe/cantaloupe.properties" + source = "local/cantaloupe.properties" + readonly = true + bind_options { + propagation = "rshared" + } + } + } + + template { +data = <