aboutsummaryrefslogtreecommitdiff
path: root/app/deployment
diff options
context:
space:
mode:
Diffstat (limited to 'app/deployment')
-rw-r--r--app/deployment/web_static.hcl50
1 files changed, 0 insertions, 50 deletions
diff --git a/app/deployment/web_static.hcl b/app/deployment/web_static.hcl
index a02d48b..16c8b35 100644
--- a/app/deployment/web_static.hcl
+++ b/app/deployment/web_static.hcl
@@ -58,55 +58,5 @@ EOH
}
}
}
-
- group "quentin" {
- network {
- port "quentin_port" { to = 8080 }
- }
-
- task "server" {
- driver = "docker"
- config {
- image = "superboum/amd64_webpull_ruby:v1"
- ports = [ "quentin_port" ]
- }
-
- template {
- data = <<EOH
-WEBPULL_REPO="https://git.deuxfleurs.fr/quentin/quentin.dufour.io.git"
-WEBPULL_TOKEN="{{ key "secrets/web/quentin.dufour.io_token" | trimSpace }}"
-EOH
- destination = "secrets/env"
- env = true
- }
-
- resources {
- memory = 500
- }
-
- service {
- tags = [
- "webstatic",
- "traefik.enable=true",
- "traefik.frontend.entryPoints=https",
- "traefik.frontend.rule=Host:quentin.dufour.io,www.quentin.dufour.io;PathPrefix:/"
- ]
- port = "quentin_port"
- address_mode = "host"
- name = "blog-quentin"
- check {
- type = "tcp"
- port = "quentin_port"
- interval = "60s"
- timeout = "5s"
- check_restart {
- limit = 3
- grace = "90s"
- ignore_warnings = false
- }
- }
- }
- }
- }
}