From 0561fa8d5f07f183a27b068feb820e4777b0c020 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Fri, 6 May 2022 12:38:53 +0200 Subject: [PATCH] Tricot version 39 --- app/frontend/deploy/frontend-tricot-prod.hcl | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/app/frontend/deploy/frontend-tricot-prod.hcl b/app/frontend/deploy/frontend-tricot-prod.hcl index 9906709..697549f 100644 --- a/app/frontend/deploy/frontend-tricot-prod.hcl +++ b/app/frontend/deploy/frontend-tricot-prod.hcl @@ -4,6 +4,12 @@ job "frontend" { priority = 90 group "tricot" { + # Temporarily pin to single machine, remove this later + constraint { + attribute = "${attr.unique.hostname}" + value = "courgette" + } + network { port "http_port" { static = 80 } port "https_port" { static = 443 } @@ -13,7 +19,7 @@ job "frontend" { driver = "docker" config { - image = "lxpz/amd64_tricot:37" + image = "lxpz/amd64_tricot:39" network_mode = "host" readonly_rootfs = true ports = [ "http_port", "https_port" ] @@ -60,7 +66,7 @@ TRICOT_CONSUL_CLIENT_CERT=/etc/tricot/consul-client.crt TRICOT_CONSUL_CLIENT_KEY=/etc/tricot/consul-client.key TRICOT_HTTP_BIND_ADDR=[::]:80 TRICOT_HTTPS_BIND_ADDR=[::]:443 -RUST_LOG=tricot=debug +RUST_LOG=tricot=trace EOH destination = "secrets/env" env = true