forked from Deuxfleurs/infrastructure
upgrade tricot to enable compression
This commit is contained in:
parent
783894b60d
commit
d64fe28143
3 changed files with 5 additions and 2 deletions
|
@ -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 *",
|
||||||
]
|
]
|
||||||
|
|
|
@ -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"
|
||||||
|
|
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue