From c74dc92febd1841c8ea5ff31caab0f941d57527d Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Sat, 16 Jan 2021 17:07:01 +0100 Subject: Proposal: reorganize app/ folder by modules --- app/web_static/deploy/web_static.hcl | 112 +++++++++++++++++++++++++++++++++++ 1 file changed, 112 insertions(+) create mode 100644 app/web_static/deploy/web_static.hcl (limited to 'app/web_static/deploy') diff --git a/app/web_static/deploy/web_static.hcl b/app/web_static/deploy/web_static.hcl new file mode 100644 index 0000000..a02d48b --- /dev/null +++ b/app/web_static/deploy/web_static.hcl @@ -0,0 +1,112 @@ +job "web_static" { + datacenters = ["dc1"] + type = "service" + + constraint { + attribute = "${attr.cpu.arch}" + value = "amd64" + } + + group "landing" { + network { + port "deuxfleurs_port" { to = 8080 } + } + + task "server" { + driver = "docker" + config { + image = "superboum/amd64_webpull_pug:v4" + ports = [ "deuxfleurs_port" ] + } + + template { + data = <