upgrade tricot to enable compression

This commit is contained in:
Alex 2021-12-09 16:14:17 +01:00
parent 783894b60d
commit d64fe28143
No known key found for this signature in database
GPG key ID: EDABF9711E244EB1
3 changed files with 5 additions and 2 deletions

View file

@ -33,6 +33,7 @@ job "dummy-synapse" {
port = "http" port = "http"
tags = [ tags = [
"tricot matrix.home.adnab.me 100", "tricot matrix.home.adnab.me 100",
"tricot matrix.home.adnab.me:443 100",
"tricot matrix.home.adnab.me:8448 100", "tricot matrix.home.adnab.me:8448 100",
"tricot-add-header Access-Control-Allow-Origin *", "tricot-add-header Access-Control-Allow-Origin *",
] ]

View file

@ -20,7 +20,7 @@ job "frontend" {
driver = "docker" driver = "docker"
config { config {
image = "lxpz/amd64_tricot:19" image = "lxpz/amd64_tricot:23"
network_mode = "host" network_mode = "host"
readonly_rootfs = true readonly_rootfs = true
ports = [ "http_port", "https_port", "admin_port" ] ports = [ "http_port", "https_port", "admin_port" ]
@ -42,6 +42,7 @@ job "frontend" {
data = <<EOH data = <<EOH
TRICOT_NODE_NAME={{ env "attr.unique.hostname" }} TRICOT_NODE_NAME={{ env "attr.unique.hostname" }}
TRICOT_LETSENCRYPT_EMAIL=alex@adnab.me TRICOT_LETSENCRYPT_EMAIL=alex@adnab.me
TRICOT_ENABLE_COMPRESSION=true
RUST_LOG=tricot=trace RUST_LOG=tricot=trace
EOH EOH
destination = "secrets/env" destination = "secrets/env"

View file

@ -14,7 +14,7 @@ job "frontend" {
driver = "docker" driver = "docker"
config { config {
image = "lxpz/amd64_tricot:19" image = "lxpz/amd64_tricot:23"
network_mode = "host" network_mode = "host"
readonly_rootfs = true readonly_rootfs = true
ports = [ "http_port", "https_port", "admin_port" ] ports = [ "http_port", "https_port", "admin_port" ]
@ -36,6 +36,7 @@ job "frontend" {
data = <<EOH data = <<EOH
TRICOT_NODE_NAME={{ env "attr.unique.hostname" }} TRICOT_NODE_NAME={{ env "attr.unique.hostname" }}
TRICOT_LETSENCRYPT_EMAIL=alex@adnab.me TRICOT_LETSENCRYPT_EMAIL=alex@adnab.me
TRICOT_ENABLE_COMPRESSION=true
RUST_LOG=tricot=trace RUST_LOG=tricot=trace
EOH EOH
destination = "secrets/env" destination = "secrets/env"