From 5ec3668d5f5b96012d359722b94c40f7f9a7a50b Mon Sep 17 00:00:00 2001 From: Quentin Dufour Date: Sat, 23 May 2020 11:38:40 +0200 Subject: Add platoo --- nomad/platoo.hcl | 63 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 nomad/platoo.hcl (limited to 'nomad') diff --git a/nomad/platoo.hcl b/nomad/platoo.hcl new file mode 100644 index 0000000..e9b9498 --- /dev/null +++ b/nomad/platoo.hcl @@ -0,0 +1,63 @@ +job "platoo" { + datacenters = ["dc1"] + type = "service" + + constraint { + attribute = "${attr.cpu.arch}" + value = "amd64" + } + + group "core" { + task "nodejs" { + driver = "docker" + config { + image = "victorm/platoo:v1" + port_map { + web_port = 8080 + } + } + + template { + data = <