Update Synapse Admin to 0.9.0

This commit is contained in:
Daniel Berteaud 2024-02-05 16:27:05 +01:00
parent d29f3cf457
commit 144577edb0
4 changed files with 8 additions and 7 deletions

View File

@ -2,7 +2,7 @@ FROM nginxinc/nginx-unprivileged:alpine
MAINTAINER Daniel Berteaud <dbd@ehtrace.com>
ARG ELEMENT_VERSION=1.11.57 \
SYNAPSE_ADMIN_VERSION=0.8.7
SYNAPSE_ADMIN_VERSION=0.9.0
ENV ELEMENT_NGINX_BIND_ADDR=0.0.0.0 \
ELEMENT_NGINX_BIND_PORT=8710
@ -14,7 +14,7 @@ RUN set -eux &&\
mkdir -p /opt/synapse-admin &&\
curl -sSL https://github.com/element-hq/element-web/releases/download/v${ELEMENT_VERSION}/element-v${ELEMENT_VERSION}.tar.gz |\
tar xvz -C /opt/element/ --strip-components 1 &&\
curl -sSL https://github.com/Awesome-Technologies/synapse-admin/releases/download/${SYNAPSE_ADMIN_VERSION}/synapse-admin-${SYNAPSE_ADMIN_VERSION}-dirty.tar.gz |\
curl -sSL https://github.com/Awesome-Technologies/synapse-admin/releases/download/${SYNAPSE_ADMIN_VERSION}/synapse-admin-${SYNAPSE_ADMIN_VERSION}.tar.gz |\
tar xvz -C /opt/synapse-admin --strip-components 1 &&\
rm -rf /opt/synapse-admin/data/* &&\
chown -R root: /opt/element /opt/synapse-admin

View File

@ -92,7 +92,7 @@ job "matrix" {
user = 1053
config {
image = "danielberteaud/wait-for:24.1-1"
image = "danielberteaud/wait-for:24.2-1"
readonly_rootfs = true
pids_limit = 20
}
@ -131,6 +131,7 @@ job "matrix" {
policies = ["matrix-synapse"]
env = false
disable_file = true
change_mode = "noop"
}
@ -297,7 +298,7 @@ _EOT
driver = "docker"
config {
image = "danielberteaud/matrix-element:1.11.57-1"
image = "danielberteaud/matrix-element:1.11.57-2"
readonly_rootfs = true
pids_limit = 100
volumes = [

View File

@ -14,7 +14,7 @@ RUN set -eux &&\
mkdir -p /opt/synapse-admin &&\
curl -sSL https://github.com/element-hq/element-web/releases/download/v${ELEMENT_VERSION}/element-v${ELEMENT_VERSION}.tar.gz |\
tar xvz -C /opt/element/ --strip-components 1 &&\
curl -sSL https://github.com/Awesome-Technologies/synapse-admin/releases/download/${SYNAPSE_ADMIN_VERSION}/synapse-admin-${SYNAPSE_ADMIN_VERSION}-dirty.tar.gz |\
curl -sSL https://github.com/Awesome-Technologies/synapse-admin/releases/download/${SYNAPSE_ADMIN_VERSION}/synapse-admin-${SYNAPSE_ADMIN_VERSION}.tar.gz |\
tar xvz -C /opt/synapse-admin --strip-components 1 &&\
rm -rf /opt/synapse-admin/data/* &&\
chown -R root: /opt/element /opt/synapse-admin

View File

@ -110,13 +110,13 @@ matrix:
version: 1.11.57
synapse_admin:
version: 0.8.7
version: 0.9.0
# Nginx will servce static files (well-known, element, synapse-admin), and proxy requests to synapse
nginx:
# The image to use
image: '[[ .docker.repo ]]matrix-element:[[ .matrix.element.version ]]-1'
image: '[[ .docker.repo ]]matrix-element:[[ .matrix.element.version ]]-2'
# Resource allocation
resources: