From 8e8362cf0b388e369e6d6a684d6a77fb352ab333 Mon Sep 17 00:00:00 2001 From: Asara Date: Fri, 8 Jan 2021 22:42:52 -0500 Subject: [PATCH] Add broken wallabag, waiting for issues on git --- nomad/wallabag/wallabag.nomad | 87 +++++++++++++++++++++++++++++++++++ 1 file changed, 87 insertions(+) create mode 100644 nomad/wallabag/wallabag.nomad diff --git a/nomad/wallabag/wallabag.nomad b/nomad/wallabag/wallabag.nomad new file mode 100644 index 0000000..6393caa --- /dev/null +++ b/nomad/wallabag/wallabag.nomad @@ -0,0 +1,87 @@ +job "wallabag" { + datacenters = ["columbia"] + region = "global" + type = "service" + + update { + stagger = "30s" + max_parallel = 1 + } + + group "wallabag" { + count = 1 + + task "wallabag" { + vault { + policies = ["default", "ansible"] + change_mode = "restart" + } + driver = "docker" + config { + image = "docker.service.masked.name:8082/wallabag" + ports = ["http"] + } + + service { + name = "wallabag" + port = "http" + + check { + name = "wallabag" + type = "tcp" + interval = "10s" + timeout = "2s" + address_mode = "driver" + } + } + + template { + data = <