container-server/services/matrix/docker-compose.yml
Renovate Bot 65cab84f41 chore(deps): update ghcr.io/element-hq/synapse docker tag to v1.105.1 (#37)
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [ghcr.io/element-hq/synapse](https://matrix.org/docs/projects/server/synapse) ([source](https://github.com/element-hq/synapse)) | minor | `v1.104.0` -> `v1.105.1` |

---

### Release Notes

<details>
<summary>element-hq/synapse (ghcr.io/element-hq/synapse)</summary>

### [`v1.105.1`](https://github.com/element-hq/synapse/releases/tag/v1.105.1)

[Compare Source](https://github.com/element-hq/synapse/compare/v1.105.0...v1.105.1)

### Synapse 1.105.1 (2024-04-23)

#### Security advisory

The following issues are fixed in 1.105.1.

-   [GHSA-3h7q-rfh9-xm4v](https://github.com/element-hq/synapse/security/advisories/GHSA-3h7q-rfh9-xm4v) / [CVE-2024-31208](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-31208) — High Severity

    Weakness in auth chain indexing allows DoS from remote room members through disk fill and high CPU usage.

See the advisories for more details. If you have any questions, email security@element.io.

### [`v1.105.0`](https://github.com/element-hq/synapse/releases/tag/v1.105.0)

[Compare Source](https://github.com/element-hq/synapse/compare/v1.104.0...v1.105.0)

### Synapse 1.105.0 (2024-04-16)

No significant changes since 1.105.0rc1.

### Synapse 1.105.0rc1 (2024-04-11)

##### Features

-   Stabilize support for [MSC4010](https://github.com/matrix-org/matrix-spec-proposals/pull/4010) which clarifies the interaction of push rules and account data. Contributed by [@&#8203;clokep](https://github.com/clokep). ([#&#8203;17022](https://github.com/element-hq/synapse/issues/17022))
-   Stabilize support for [MSC3981](https://github.com/matrix-org/matrix-spec-proposals/pull/3981): `/relations` recursion. Contributed by [@&#8203;clokep](https://github.com/clokep). ([#&#8203;17023](https://github.com/element-hq/synapse/issues/17023))
-   Add support for moving `/pushrules` off of main process. ([#&#8203;17037](https://github.com/element-hq/synapse/issues/17037), [#&#8203;17038](https://github.com/element-hq/synapse/issues/17038))

##### Bugfixes

-   Fix various long-standing bugs which could cause incorrect state to be returned from `/sync` in certain situations. ([#&#8203;16930](https://github.com/element-hq/synapse/issues/16930), [#&#8203;16932](https://github.com/element-hq/synapse/issues/16932), [#&#8203;16942](https://github.com/element-hq/synapse/issues/16942), [#&#8203;17064](https://github.com/element-hq/synapse/issues/17064), [#&#8203;17065](https://github.com/element-hq/synapse/issues/17065), [#&#8203;17066](https://github.com/element-hq/synapse/issues/17066))
-   Fix server notice rooms not always being created as unencrypted rooms, even when `encryption_enabled_by_default_for_room_type` is in use (server notices are always unencrypted). ([#&#8203;17033](https://github.com/element-hq/synapse/issues/17033))
-   Fix the `.m.rule.encrypted_room_one_to_one` and `.m.rule.room_one_to_one` default underride push rules being in the wrong order. Contributed by [@&#8203;Sumpy1](https://github.com/Sumpy1). ([#&#8203;17043](https://github.com/element-hq/synapse/issues/17043))

##### Internal Changes

-   Refactor auth chain fetching to reduce duplication. ([#&#8203;17044](https://github.com/element-hq/synapse/issues/17044))
-   Improve database performance by adding a missing index to `access_tokens.refresh_token_id`. ([#&#8203;17045](https://github.com/element-hq/synapse/issues/17045), [#&#8203;17054](https://github.com/element-hq/synapse/issues/17054))
-   Improve database performance by reducing number of receipts fetched when sending push notifications. ([#&#8203;17049](https://github.com/element-hq/synapse/issues/17049))

##### Updates to locked dependencies

-   Bump packaging from 23.2 to 24.0. ([#&#8203;17027](https://github.com/element-hq/synapse/issues/17027))
-   Bump regex from 1.10.3 to 1.10.4. ([#&#8203;17028](https://github.com/element-hq/synapse/issues/17028))
-   Bump ruff from 0.3.2 to 0.3.5. ([#&#8203;17060](https://github.com/element-hq/synapse/issues/17060))
-   Bump serde_json from 1.0.114 to 1.0.115. ([#&#8203;17041](https://github.com/element-hq/synapse/issues/17041))
-   Bump types-pillow from 10.2.0.20240125 to 10.2.0.20240406. ([#&#8203;17061](https://github.com/element-hq/synapse/issues/17061))
-   Bump types-requests from 2.31.0.20240125 to 2.31.0.20240406. ([#&#8203;17063](https://github.com/element-hq/synapse/issues/17063))
-   Bump typing-extensions from 4.9.0 to 4.11.0. ([#&#8203;17062](https://github.com/element-hq/synapse/issues/17062))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yOTIuMCIsInVwZGF0ZWRJblZlciI6IjM3LjMxMy4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Reviewed-on: carsten/container-server#37
Co-authored-by: Renovate Bot <renovate@git.csprung.de>
Co-committed-by: Renovate Bot <renovate@git.csprung.de>
2024-04-25 17:34:33 +02:00

47 lines
1.3 KiB
YAML

version: '3.7'
# https://github.com/element-hq/synapse/pkgs/container/synapse
# https://github.com/element-hq/synapse/tree/master/docs
# https://github.com/element-hq/synapse/tree/master/contrib/docker
# https://github.com/element-hq/synapse/blob/master/docs/reverse_proxy.md
# https://github.com/element-hq/synapse/blob/master/docs/federate.md
# https://github.com/element-hq/synapse/blob/master/docs/postgres.md
# https://github.com/element-hq/synapse/blob/master/debian/register_new_matrix_user.ronn
networks:
matrix:
services:
matrix:
image: ghcr.io/element-hq/synapse:v1.105.1
container_name: matrix
restart: "${RESTART:-no}"
hostname: matrix
domainname: ${BASE_DOMAIN}
environment:
- SYNAPSE_CONFIG_DIR=/config
- TZ=DE
- UID=0
- GID=0
volumes:
- ./matrix/config:/config:ro
- ${BASE_DIR:-/srv}/matrix/data:/data
depends_on:
- pg-matrix
networks:
- proxy
- matrix
pg-matrix:
image: postgres:16-alpine
container_name: pg-matrix
restart: "${RESTART:-no}"
environment:
- POSTGRES_DB=matrix
- POSTGRES_USER=matrix
- POSTGRES_PASSWORD=${MATRIX_PG_PWD:-matrix}
- POSTGRES_INITDB_ARGS=--encoding=UTF-8 --lc-collate=C --lc-ctype=C
volumes:
- ${BASE_DIR:-/srv}/matrix/psql:/var/lib/postgresql/data
networks:
- matrix