diff options
author | Quentin <quentin@deuxfleurs.fr> | 2021-01-18 06:51:19 +0100 |
---|---|---|
committer | Quentin <quentin@deuxfleurs.fr> | 2021-01-18 06:51:19 +0100 |
commit | 79b7273ff2a487d6721d393682c8ad3927467a75 (patch) | |
tree | e742f342ac569c15a4a1de95a31a46470ddb3c68 | |
parent | 0c4ee40e01c95d7bf73236cbead5cc261f67eb9d (diff) | |
download | infrastructure-79b7273ff2a487d6721d393682c8ad3927467a75.tar.gz infrastructure-79b7273ff2a487d6721d393682c8ad3927467a75.zip |
Remove my blog
-rw-r--r-- | app/deployment/web_static.hcl | 50 |
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 - } - } - } - } - } } |