aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/frontend/deploy/frontend-tricot-prod.hcl10
1 files 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