forked from Deuxfleurs/infrastructure
fixed tricot with compression now
This commit is contained in:
parent
c6819c8d4a
commit
2fc9276be2
2 changed files with 6 additions and 5 deletions
|
@ -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 {
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue