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 {
max_parallel = 1
stagger = "1m"
stagger = "5m"
}
group "network" {
group "diplonat" {
task "diplonat" {
driver = "docker"
@ -82,7 +82,7 @@ EOH
driver = "docker"
config {
image = "lxpz/amd64_tricot:45"
image = "lxpz/amd64_tricot:46"
network_mode = "host"
readonly_rootfs = true
ports = [ "http_port", "https_port" ]

View file

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

View file

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

View file

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