fixed tricot with compression now

This commit is contained in:
Alex 2021-12-10 00:26:51 +01:00
parent c6819c8d4a
commit 2fc9276be2
No known key found for this signature in database
GPG key ID: EDABF9711E244EB1
2 changed files with 6 additions and 5 deletions

View file

@ -20,15 +20,15 @@ job "frontend" {
driver = "docker" driver = "docker"
config { config {
image = "lxpz/amd64_tricot:23" image = "lxpz/amd64_tricot:24"
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" ]
} }
resources { resources {
cpu = 1000 cpu = 2000
memory = 100 memory = 200
} }
restart { restart {

View file

@ -14,14 +14,14 @@ job "frontend" {
driver = "docker" driver = "docker"
config { config {
image = "lxpz/amd64_tricot:19" image = "lxpz/amd64_tricot:24"
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" ]
} }
resources { resources {
cpu = 1000 cpu = 2000
memory = 200 memory = 200
} }
@ -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=debug RUST_LOG=tricot=debug
EOH EOH
destination = "secrets/env" destination = "secrets/env"