Remove my blog

This commit is contained in:
Quentin 2021-01-18 06:51:19 +01:00
parent 0c4ee40e01
commit 79b7273ff2

View file

@ -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
}
}
}
}
}
} }