Upgrade Matrix (Synapse) to v1.80.0

This commit is contained in:
Sam A. 2023-04-08 00:15:05 +02:00
parent 863cd56001
commit 493062b00a
Signed by: samsapti
GPG key ID: CBBBE7371E81C4EA
3 changed files with 11 additions and 21 deletions

View file

@ -95,8 +95,8 @@ services:
file: matrix_riot.yml file: matrix_riot.yml
domain: "matrix.{{ base_domain }}" domain: "matrix.{{ base_domain }}"
volume_folder: "{{ volume_root_folder }}/matrix" volume_folder: "{{ volume_root_folder }}/matrix"
version: v1.63.1 version: v1.80.0
postgres_version: "10" postgres_version: 15-alpine
allowed_sender_domain: true allowed_sender_domain: true
riot: riot:

View file

@ -339,7 +339,7 @@ database:
user: "synapse" user: "synapse"
password: "{{ postgres_passwords.matrix }}" password: "{{ postgres_passwords.matrix }}"
database: "synapse" database: "synapse"
host: "matrix_db" host: "postgres"
port: "5432" port: "5432"
cp_min: 5 cp_min: 5
cp_max: 10 cp_max: 10
@ -676,15 +676,8 @@ report_stats: false
## API Configuration ## ## API Configuration ##
# A list of event types that will be included in the room_invite_state room_prejoin_state:
# disable_default_event_types: false
room_invite_state_types:
- "m.room.join_rules"
- "m.room.canonical_alias"
- "m.room.avatar"
- "m.room.encryption"
- "m.room.name"
# A list of application service config file to use # A list of application service config file to use
# #

View file

@ -61,12 +61,11 @@
- name: set up matrix and riot - name: set up matrix and riot
docker_compose: docker_compose:
project_name: matrix project_name: matrix
pull: yes pull: true
definition: definition:
version: "3.6" version: "3.6"
services: services:
matrix_db: postgres:
container_name: matrix_db
image: "postgres:{{ services.matrix.postgres_version }}" image: "postgres:{{ services.matrix.postgres_version }}"
restart: unless-stopped restart: unless-stopped
networks: networks:
@ -77,8 +76,7 @@
POSTGRES_USER: "synapse" POSTGRES_USER: "synapse"
POSTGRES_PASSWORD: "{{ postgres_passwords.matrix }}" POSTGRES_PASSWORD: "{{ postgres_passwords.matrix }}"
matrix_app: synapse:
container_name: matrix
image: "matrixdotorg/synapse:{{ services.matrix.version }}" image: "matrixdotorg/synapse:{{ services.matrix.version }}"
restart: unless-stopped restart: unless-stopped
networks: networks:
@ -95,8 +93,7 @@
LETSENCRYPT_HOST: "{{ services.matrix.domain }}" LETSENCRYPT_HOST: "{{ services.matrix.domain }}"
LETSENCRYPT_EMAIL: "{{ letsencrypt_email }}" LETSENCRYPT_EMAIL: "{{ letsencrypt_email }}"
riot: element:
container_name: riot_app
image: "avhost/docker-matrix-riot:{{ services.riot.version }}" image: "avhost/docker-matrix-riot:{{ services.riot.version }}"
restart: unless-stopped restart: unless-stopped
networks: networks:
@ -107,9 +104,9 @@
volumes: volumes:
- "{{ services.riot.volume_folder }}/data:/data" - "{{ services.riot.volume_folder }}/data:/data"
environment: environment:
VIRTUAL_HOST: "{{ services.riot.domains|join(',') }}" VIRTUAL_HOST: "{{ services.riot.domains | join(',') }}"
VIRTUAL_PORT: "8080" VIRTUAL_PORT: "8080"
LETSENCRYPT_HOST: "{{ services.riot.domains|join(',') }}" LETSENCRYPT_HOST: "{{ services.riot.domains | join(',') }}"
LETSENCRYPT_EMAIL: "{{ letsencrypt_email }}" LETSENCRYPT_EMAIL: "{{ letsencrypt_email }}"
networks: networks: