aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2021-12-09 16:14:17 +0100
committerAlex Auvolat <alex@adnab.me>2021-12-09 16:14:17 +0100
commitd64fe281436e43c0efc14dcaf567ba110d4b73bb (patch)
treea2241247578406ba033c50d738d1c1d77748c90d
parent783894b60de9b106bd378175b31bf272a133b095 (diff)
downloadinfrastructure-d64fe281436e43c0efc14dcaf567ba110d4b73bb.tar.gz
infrastructure-d64fe281436e43c0efc14dcaf567ba110d4b73bb.zip
upgrade tricot to enable compression
-rw-r--r--app/dummy/deploy/dummy-synapse.hcl1
-rw-r--r--app/frontend/deploy/frontend-tricot-neptune.hcl3
-rw-r--r--app/frontend/deploy/frontend-tricot.hcl3
3 files changed, 5 insertions, 2 deletions
diff --git a/app/dummy/deploy/dummy-synapse.hcl b/app/dummy/deploy/dummy-synapse.hcl
index 9b69914..2d54960 100644
--- a/app/dummy/deploy/dummy-synapse.hcl
+++ b/app/dummy/deploy/dummy-synapse.hcl
@@ -33,6 +33,7 @@ job "dummy-synapse" {
port = "http"
tags = [
"tricot matrix.home.adnab.me 100",
+ "tricot matrix.home.adnab.me:443 100",
"tricot matrix.home.adnab.me:8448 100",
"tricot-add-header Access-Control-Allow-Origin *",
]
diff --git a/app/frontend/deploy/frontend-tricot-neptune.hcl b/app/frontend/deploy/frontend-tricot-neptune.hcl
index c8d3cb1..4e73073 100644
--- a/app/frontend/deploy/frontend-tricot-neptune.hcl
+++ b/app/frontend/deploy/frontend-tricot-neptune.hcl
@@ -20,7 +20,7 @@ job "frontend" {
driver = "docker"
config {
- image = "lxpz/amd64_tricot:19"
+ image = "lxpz/amd64_tricot:23"
network_mode = "host"
readonly_rootfs = true
ports = [ "http_port", "https_port", "admin_port" ]
@@ -42,6 +42,7 @@ job "frontend" {
data = <<EOH
TRICOT_NODE_NAME={{ env "attr.unique.hostname" }}
TRICOT_LETSENCRYPT_EMAIL=alex@adnab.me
+TRICOT_ENABLE_COMPRESSION=true
RUST_LOG=tricot=trace
EOH
destination = "secrets/env"
diff --git a/app/frontend/deploy/frontend-tricot.hcl b/app/frontend/deploy/frontend-tricot.hcl
index bcca05d..5bd7619 100644
--- a/app/frontend/deploy/frontend-tricot.hcl
+++ b/app/frontend/deploy/frontend-tricot.hcl
@@ -14,7 +14,7 @@ job "frontend" {
driver = "docker"
config {
- image = "lxpz/amd64_tricot:19"
+ image = "lxpz/amd64_tricot:23"
network_mode = "host"
readonly_rootfs = true
ports = [ "http_port", "https_port", "admin_port" ]
@@ -36,6 +36,7 @@ job "frontend" {
data = <<EOH
TRICOT_NODE_NAME={{ env "attr.unique.hostname" }}
TRICOT_LETSENCRYPT_EMAIL=alex@adnab.me
+TRICOT_ENABLE_COMPRESSION=true
RUST_LOG=tricot=trace
EOH
destination = "secrets/env"