aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2021-12-10 00:26:51 +0100
committerAlex Auvolat <alex@adnab.me>2021-12-10 00:26:51 +0100
commit2fc9276be2721503d6ce8f11b61b6f3df48752d1 (patch)
treeb9b022cfa23d0034c5f9990a2d8de1780da3dd15
parentc6819c8d4acf1e95a655babb1fd6750ff4c04094 (diff)
downloadinfrastructure-2fc9276be2721503d6ce8f11b61b6f3df48752d1.tar.gz
infrastructure-2fc9276be2721503d6ce8f11b61b6f3df48752d1.zip
fixed tricot with compression now
-rw-r--r--app/frontend/deploy/frontend-tricot-neptune.hcl6
-rw-r--r--app/frontend/deploy/frontend-tricot.hcl5
2 files changed, 6 insertions, 5 deletions
diff --git a/app/frontend/deploy/frontend-tricot-neptune.hcl b/app/frontend/deploy/frontend-tricot-neptune.hcl
index 4e73073..f93c1b9 100644
--- a/app/frontend/deploy/frontend-tricot-neptune.hcl
+++ b/app/frontend/deploy/frontend-tricot-neptune.hcl
@@ -20,15 +20,15 @@ job "frontend" {
driver = "docker"
config {
- image = "lxpz/amd64_tricot:23"
+ image = "lxpz/amd64_tricot:24"
network_mode = "host"
readonly_rootfs = true
ports = [ "http_port", "https_port", "admin_port" ]
}
resources {
- cpu = 1000
- memory = 100
+ cpu = 2000
+ memory = 200
}
restart {
diff --git a/app/frontend/deploy/frontend-tricot.hcl b/app/frontend/deploy/frontend-tricot.hcl
index 868c327..867720b 100644
--- a/app/frontend/deploy/frontend-tricot.hcl
+++ b/app/frontend/deploy/frontend-tricot.hcl
@@ -14,14 +14,14 @@ job "frontend" {
driver = "docker"
config {
- image = "lxpz/amd64_tricot:19"
+ image = "lxpz/amd64_tricot:24"
network_mode = "host"
readonly_rootfs = true
ports = [ "http_port", "https_port", "admin_port" ]
}
resources {
- cpu = 1000
+ cpu = 2000
memory = 200
}
@@ -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=debug
EOH
destination = "secrets/env"