aboutsummaryrefslogtreecommitdiff
path: root/app/frontend/deploy
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-05-06 12:38:53 +0200
committerAlex Auvolat <alex@adnab.me>2022-05-06 12:39:01 +0200
commit0561fa8d5f07f183a27b068feb820e4777b0c020 (patch)
tree79e48ef3bf04bf6640c9331391e9ab9671a7db04 /app/frontend/deploy
parentbdcb1760ed67b14c1f71636b1126b916b35625ee (diff)
downloadnixcfg-0561fa8d5f07f183a27b068feb820e4777b0c020.tar.gz
nixcfg-0561fa8d5f07f183a27b068feb820e4777b0c020.zip
Tricot version 39
Diffstat (limited to 'app/frontend/deploy')
-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