Mises à jour du cluster

This commit is contained in:
Quentin 2022-01-25 12:12:58 +01:00
parent f229d58467
commit 7cede37e6d
6 changed files with 11 additions and 82 deletions

View file

@ -7,21 +7,21 @@ services:
context: ./im/build/riotweb
args:
# https://github.com/vector-im/riot-web/releases
VERSION: 1.9.7
image: superboum/amd64_riotweb:v26
VERSION: 1.9.9
image: superboum/amd64_riotweb:v27
synapse:
build:
context: ./im/build/matrix-synapse
args:
# https://github.com/matrix-org/synapse/releases
VERSION: 1.48.0
VERSION: 1.50.2
# https://github.com/matrix-org/synapse-s3-storage-provider/commits/main
# Update with the latest commit on main each time you update the synapse version
# otherwise synapse may fail to launch due to incompatibility issues
# see this issue for an example: https://github.com/matrix-org/synapse-s3-storage-provider/issues/64
S3_VERSION: f821cff55e35a711b45ecb5165d54a4c28f40c9c
image: superboum/amd64_synapse:v49
S3_VERSION: 8926b4e4178edcda1a32fdb39bd36cef1a1a9d40
image: superboum/amd64_synapse:v50
# Email
sogo:

View file

@ -1,71 +0,0 @@
job "frontend" {
datacenters = ["dc1"]
type = "service"
priority = 80
group "traefik" {
network {
port "http_port" { static = 80 }
port "https_port" { static = 443 }
port "admin_port" { static = 8082 }
}
task "server" {
driver = "docker"
config {
image = "amd64/traefik:1.7.28"
readonly_rootfs = true
network_mode = "host"
volumes = [
"secrets/traefik.toml:/etc/traefik/traefik.toml",
]
ports = [ "http_port", "https_port", "admin_port" ]
}
resources {
memory = 265
}
template {
data = file("../config/traefik.toml")
destination = "secrets/traefik.toml"
}
service {
name = "traefik-http"
port = "http_port"
tags = [ "(diplonat (tcp_port 80))" ]
address_mode = "host"
}
service {
name = "traefik-https"
port = "https_port"
tags = [ "(diplonat (tcp_port 443))" ]
address_mode = "host"
}
service {
name = "traefik-admin"
port = "admin_port"
address_mode = "host"
check {
type = "http"
protocol = "http"
port = 8082
address_mode = "driver"
path = "/ping"
interval = "60s"
timeout = "5s"
check_restart {
limit = 3
grace = "90s"
ignore_warnings = false
}
}
}
}
}
}

View file

@ -14,7 +14,7 @@ job "frontend" {
driver = "docker"
config {
image = "lxpz/amd64_tricot:27"
image = "lxpz/amd64_tricot:33"
network_mode = "host"
readonly_rootfs = true
ports = [ "http_port", "https_port", "admin_port" ]

View file

@ -15,7 +15,7 @@ job "im" {
driver = "docker"
config {
image = "superboum/amd64_synapse:v49"
image = "superboum/amd64_synapse:v50"
network_mode = "host"
readonly_rootfs = true
ports = [ "client_port", "federation_port" ]
@ -138,7 +138,7 @@ job "im" {
driver = "docker"
config {
image = "superboum/amd64_synapse:v49"
image = "superboum/amd64_synapse:v50"
readonly_rootfs = true
command = "/usr/local/bin/matrix-s3-async"
work_dir = "/tmp"
@ -182,7 +182,7 @@ EOH
task "server" {
driver = "docker"
config {
image = "superboum/amd64_riotweb:v26"
image = "superboum/amd64_riotweb:v27"
ports = [ "web_port" ]
volumes = [
"secrets/config.json:/srv/http/config.json"

View file

@ -1,6 +1,6 @@
- name: "Set consul version"
set_fact:
consul_version: 1.9.1
consul_version: 1.11.2
- name: "Download and install Consul for x86_64"
unarchive:

View file

@ -1,6 +1,6 @@
- name: "Set nomad version"
set_fact:
nomad_version: 1.0.2
nomad_version: 1.2.4
- name: "Download and install Nomad for x86_64"
unarchive: