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/web_static.hcl | 113 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 113 insertions(+) create mode 100644 app_deployment/web_static.hcl (limited to 'app_deployment/web_static.hcl') diff --git a/app_deployment/web_static.hcl b/app_deployment/web_static.hcl new file mode 100644 index 0000000..c935b2a --- /dev/null +++ b/app_deployment/web_static.hcl @@ -0,0 +1,113 @@ +job "web_static" { + datacenters = ["dc1"] + type = "service" + + constraint { + attribute = "${attr.cpu.arch}" + value = "amd64" + } + + group "landing" { + task "server" { + driver = "docker" + config { + image = "superboum/amd64_webpull_pug:v4" + port_map { + web_port = 8080 + } + } + + template { + data = <