prod: update tricot and reduce resource constraints

This commit is contained in:
Alex 2022-12-07 12:03:15 +01:00
parent 93e66389f7
commit 1d4599fc1c
Signed by: lx
GPG key ID: 0E496D15096376BE
4 changed files with 12 additions and 11 deletions

View file

@ -5,10 +5,10 @@ job "core" {
update { update {
max_parallel = 1 max_parallel = 1
stagger = "1m" stagger = "5m"
} }
group "network" { group "diplonat" {
task "diplonat" { task "diplonat" {
driver = "docker" driver = "docker"
@ -82,7 +82,7 @@ EOH
driver = "docker" driver = "docker"
config { config {
image = "lxpz/amd64_tricot:45" image = "lxpz/amd64_tricot:46"
network_mode = "host" network_mode = "host"
readonly_rootfs = true readonly_rootfs = true
ports = [ "http_port", "https_port" ] ports = [ "http_port", "https_port" ]

View file

@ -56,6 +56,7 @@ job "cryptpad" {
} }
service { service {
name = "cryptpad"
port = "http" port = "http"
tags = [ tags = [
"tricot pad.deuxfleurs.fr", "tricot pad.deuxfleurs.fr",

View file

@ -36,7 +36,7 @@ job "drone-ci" {
resources { resources {
memory = 200 memory = 200
cpu = 1000 cpu = 100
} }
} }
@ -81,7 +81,7 @@ EOH
resources { resources {
cpu = 100 cpu = 100
memory = 100 memory = 200
} }
service { service {
@ -129,7 +129,7 @@ EOH
} }
resources { resources {
memory = 250 memory = 200
cpu = 100 cpu = 100
} }
} }

View file

@ -70,8 +70,8 @@ job "telemetry" {
} }
resources { resources {
memory = 501 memory = 1000
cpu = 500 cpu = 1000
} }
service { service {
@ -130,7 +130,7 @@ job "telemetry" {
resources { resources {
memory = 200 memory = 200
cpu = 1000 cpu = 100
} }
} }
@ -168,8 +168,8 @@ EOH
} }
resources { resources {
memory = 501 memory = 500
cpu = 100 cpu = 500
} }
service { service {