aboutsummaryrefslogtreecommitdiff
path: root/cluster/prod/app/matrix
diff options
context:
space:
mode:
authorADRN <adrien@luxeylab.net>2024-09-26 19:37:02 +0200
committerADRN <adrien@luxeylab.net>2024-09-26 19:37:02 +0200
commitaac2019d2757b30d2f318d9a8f98b4e77ba42076 (patch)
treee855b95eef6e348a0d36b7d96162f4035f1a952c /cluster/prod/app/matrix
parentfabf31a7205163aa55e001b58e7cc08c7c3eeb52 (diff)
downloadnixcfg-aac2019d2757b30d2f318d9a8f98b4e77ba42076.tar.gz
nixcfg-aac2019d2757b30d2f318d9a8f98b4e77ba42076.zip
modif de Synapse parce que ça buguait + update Matrix syncv3 to v0.99.16
Diffstat (limited to 'cluster/prod/app/matrix')
-rw-r--r--cluster/prod/app/matrix/build/docker-compose.yml2
-rw-r--r--cluster/prod/app/matrix/build/matrix-synapse/Dockerfile9
-rw-r--r--cluster/prod/app/matrix/deploy/im.hcl8
3 files changed, 11 insertions, 8 deletions
diff --git a/cluster/prod/app/matrix/build/docker-compose.yml b/cluster/prod/app/matrix/build/docker-compose.yml
index 3b70b64..b61fb39 100644
--- a/cluster/prod/app/matrix/build/docker-compose.yml
+++ b/cluster/prod/app/matrix/build/docker-compose.yml
@@ -20,4 +20,4 @@ services:
# 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: 2c46a764f700e6439afa11c00db827ddf21a9e89
- image: particallydone/amd64_synapse:v59
+ image: particallydone/amd64_synapse:v60
diff --git a/cluster/prod/app/matrix/build/matrix-synapse/Dockerfile b/cluster/prod/app/matrix/build/matrix-synapse/Dockerfile
index 5a6f709..aa0c165 100644
--- a/cluster/prod/app/matrix/build/matrix-synapse/Dockerfile
+++ b/cluster/prod/app/matrix/build/matrix-synapse/Dockerfile
@@ -1,4 +1,4 @@
-FROM amd64/debian:trixie as builder
+FROM amd64/debian:trixie AS builder
ARG VERSION
ARG S3_VERSION
@@ -31,13 +31,16 @@ RUN virtualenv /root/matrix-env -p /usr/bin/python3 && \
pip3 install \
git+https://github.com/matrix-org/synapse-s3-storage-provider.git@${S3_VERSION}
-FROM amd64/debian:bookworm
+# WARNING: trixie n'est pas une LTS
+# mais on est obligé d'avoir la même version que le builder
+# et le builder veut une version de rustc qui n'est pas dans bookworm (dernière LTS at the time of writing)
+FROM amd64/debian:trixie
RUN apt-get update && \
apt-get -qq -y full-upgrade && \
apt-get install -y \
python3 \
- python3-distutils \
+ python3-setuptools \
libffi8 \
libjpeg62-turbo \
libssl3 \
diff --git a/cluster/prod/app/matrix/deploy/im.hcl b/cluster/prod/app/matrix/deploy/im.hcl
index ff3ca03..c348131 100644
--- a/cluster/prod/app/matrix/deploy/im.hcl
+++ b/cluster/prod/app/matrix/deploy/im.hcl
@@ -15,7 +15,7 @@ job "matrix" {
driver = "docker"
config {
- image = "lxpz/amd64_synapse:v58"
+ image = "particallydone/amd64_synapse:v60"
network_mode = "host"
readonly_rootfs = true
ports = [ "api_port" ]
@@ -101,7 +101,7 @@ job "matrix" {
driver = "docker"
config {
- image = "lxpz/amd64_synapse:v58"
+ image = "particallydone/amd64_synapse:v60"
readonly_rootfs = true
command = "/usr/local/bin/matrix-s3-async"
work_dir = "/tmp"
@@ -137,7 +137,7 @@ EOH
task "riotweb" {
driver = "docker"
config {
- image = "lxpz/amd64_elementweb:v35"
+ image = "particallydone/amd64_elementweb:v36"
ports = [ "web_port" ]
volumes = [
"secrets/config.json:/srv/http/config.json"
@@ -190,7 +190,7 @@ EOH
driver = "docker"
config {
- image = "ghcr.io/matrix-org/sliding-sync:v0.99.12"
+ image = "ghcr.io/matrix-org/sliding-sync:v0.99.16"
ports = [ "syncv3_api", "syncv3_metrics" ]
}