From c4a6cf1534b864d3941c839d4a4dca7e505bd828 Mon Sep 17 00:00:00 2001 From: Quentin Date: Sat, 12 Sep 2020 10:03:48 +0200 Subject: Rebase first step --- app_deployment/platoo.hcl | 64 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) create mode 100644 app_deployment/platoo.hcl (limited to 'app_deployment/platoo.hcl') diff --git a/app_deployment/platoo.hcl b/app_deployment/platoo.hcl new file mode 100644 index 0000000..0502934 --- /dev/null +++ b/app_deployment/platoo.hcl @@ -0,0 +1,64 @@ +job "platoo" { + datacenters = ["dc1"] + type = "service" + + constraint { + attribute = "${attr.cpu.arch}" + value = "amd64" + } + + group "core" { + task "nodejs" { + driver = "docker" + config { + image = "victormoi/platoo:v1" + force_pull = true + port_map { + web_port = 8080 + } + } + + template { + data = <