diff options
Diffstat (limited to 'app/garage/deploy')
-rw-r--r-- | app/garage/deploy/garage.hcl | 25 |
1 files changed, 24 insertions, 1 deletions
diff --git a/app/garage/deploy/garage.hcl b/app/garage/deploy/garage.hcl index 329b0b6..b4df01e 100644 --- a/app/garage/deploy/garage.hcl +++ b/app/garage/deploy/garage.hcl @@ -57,7 +57,8 @@ job "garage" { "garage_api", "traefik.enable=true", "traefik.frontend.entryPoints=https,http", - "traefik.frontend.rule=Host:garage.deuxfleurs.fr" + "traefik.frontend.rule=Host:garage.deuxfleurs.fr", + "tricot garage.deuxfleurs.fr", ] port = 3900 address_mode = "driver" @@ -95,6 +96,28 @@ job "garage" { } } + service { + tags = [ + "garage-web", + "tricot * 1000", + ] + port = 3902 + address_mode = "driver" + name = "garage-web" + check { + type = "tcp" + port = 3902 + address_mode = "driver" + interval = "60s" + timeout = "5s" + check_restart { + limit = 3 + grace = "90s" + ignore_warnings = false + } + } + } + restart { interval = "30m" attempts = 10 |