container-server/services/matrix/docker-compose.yml
Renovate Bot be3d4174e1 chore(deps): update ghcr.io/element-hq/synapse docker tag to v1.104.0 (#36)
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.103.0` -> `v1.104.0` |

---

### Release Notes

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

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

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

### Synapse 1.104.0 (2024-04-02)

##### Bugfixes

-   Fix regression when using OIDC provider. Introduced in v1.104.0rc1. ([#&#8203;17031](https://github.com/element-hq/synapse/issues/17031))

### Synapse 1.104.0rc1 (2024-03-26)

##### Features

-   Add an OIDC config to specify extra parameters for the authorization grant URL. IT can be useful to pass an ACR value for example. ([#&#8203;16971](https://github.com/element-hq/synapse/issues/16971))
-   Add support for OIDC provider returning JWT. ([#&#8203;16972](https://github.com/element-hq/synapse/issues/16972), [#&#8203;17031](https://github.com/element-hq/synapse/issues/17031))

##### Bugfixes

-   Fix a bug which meant that, under certain circumstances, we might never retry sending events or to-device messages over federation after a failure. ([#&#8203;16925](https://github.com/element-hq/synapse/issues/16925))
-   Fix various long-standing bugs which could cause incorrect state to be returned from `/sync` in certain situations. ([#&#8203;16949](https://github.com/element-hq/synapse/issues/16949))
-   Fix case in which `m.fully_read` marker would not get updated. Contributed by [@&#8203;SpiritCroc](https://github.com/SpiritCroc). ([#&#8203;16990](https://github.com/element-hq/synapse/issues/16990))
-   Fix bug which did not retract a user's pending knocks at rooms when their account was deactivated. Contributed by [@&#8203;hanadi92](https://github.com/hanadi92). ([#&#8203;17010](https://github.com/element-hq/synapse/issues/17010))

##### Updates to the Docker image

-   Updated `start.py` to generate config using the correct user ID when running as root (fixes [#&#8203;16824](https://github.com/element-hq/synapse/issues/16824), [#&#8203;15202](https://github.com/element-hq/synapse/issues/15202)). ([#&#8203;16978](https://github.com/element-hq/synapse/issues/16978))

##### Improved Documentation

-   Add a query to force a refresh of a remote user's device list to the "Useful SQL for Admins" documentation page. ([#&#8203;16892](https://github.com/element-hq/synapse/issues/16892))
-   Minor grammatical corrections to the upgrade documentation. ([#&#8203;16965](https://github.com/element-hq/synapse/issues/16965))
-   Fix the sort order for the documentation version picker, so that newer releases appear above older ones. ([#&#8203;16966](https://github.com/element-hq/synapse/issues/16966))
-   Remove recommendation for a specific poetry version from contributing guide. ([#&#8203;17002](https://github.com/element-hq/synapse/issues/17002))

##### Internal Changes

-   Improve lock performance when a lot of locks are all waiting for a single lock to be released. ([#&#8203;16840](https://github.com/element-hq/synapse/issues/16840))
-   Update power level default for public rooms. ([#&#8203;16907](https://github.com/element-hq/synapse/issues/16907))
-   Improve event validation. ([#&#8203;16908](https://github.com/element-hq/synapse/issues/16908))
-   Multi-worker-docker-container: disable log buffering. ([#&#8203;16919](https://github.com/element-hq/synapse/issues/16919))
-   Refactor state delta calculation in `/sync` handler. ([#&#8203;16929](https://github.com/element-hq/synapse/issues/16929))
-   Clarify docs for some room state functions. ([#&#8203;16950](https://github.com/element-hq/synapse/issues/16950))
-   Specify IP subnets in canonical form. ([#&#8203;16953](https://github.com/element-hq/synapse/issues/16953))
-   As done for SAML mapping provider, let's pass the module API to the OIDC one so the mapper can do more logic in its code. ([#&#8203;16974](https://github.com/element-hq/synapse/issues/16974))
-   Allow containers building on top of Synapse's Complement container is use the included PostgreSQL cluster. ([#&#8203;16985](https://github.com/element-hq/synapse/issues/16985))
-   Raise poetry-core version cap to 1.9.0. ([#&#8203;16986](https://github.com/element-hq/synapse/issues/16986))
-   Patch the db conn pool sooner in tests. ([#&#8203;17017](https://github.com/element-hq/synapse/issues/17017))

##### Updates to locked dependencies

-   Bump anyhow from 1.0.80 to 1.0.81. ([#&#8203;17009](https://github.com/element-hq/synapse/issues/17009))
-   Bump black from 23.10.1 to 24.2.0. ([#&#8203;16936](https://github.com/element-hq/synapse/issues/16936))
-   Bump cryptography from 41.0.7 to 42.0.5. ([#&#8203;16958](https://github.com/element-hq/synapse/issues/16958))
-   Bump dawidd6/action-download-artifact from 3.1.1 to 3.1.2. ([#&#8203;16960](https://github.com/element-hq/synapse/issues/16960))
-   Bump dawidd6/action-download-artifact from 3.1.2 to 3.1.4. ([#&#8203;17008](https://github.com/element-hq/synapse/issues/17008))
-   Bump jinja2 from 3.1.2 to 3.1.3. ([#&#8203;17005](https://github.com/element-hq/synapse/issues/17005))
-   Bump log from 0.4.20 to 0.4.21. ([#&#8203;16977](https://github.com/element-hq/synapse/issues/16977))
-   Bump mypy from 1.5.1 to 1.8.0. ([#&#8203;16901](https://github.com/element-hq/synapse/issues/16901))
-   Bump netaddr from 0.9.0 to 1.2.1. ([#&#8203;17006](https://github.com/element-hq/synapse/issues/17006))
-   Bump pydantic from 2.6.0 to 2.6.4. ([#&#8203;17004](https://github.com/element-hq/synapse/issues/17004))
-   Bump pyo3 from 0.20.2 to 0.20.3. ([#&#8203;16962](https://github.com/element-hq/synapse/issues/16962))
-   Bump ruff from 0.1.14 to 0.3.2. ([#&#8203;16994](https://github.com/element-hq/synapse/issues/16994))
-   Bump serde from 1.0.196 to 1.0.197. ([#&#8203;16963](https://github.com/element-hq/synapse/issues/16963))
-   Bump serde_json from 1.0.113 to 1.0.114. ([#&#8203;16961](https://github.com/element-hq/synapse/issues/16961))
-   Bump types-jsonschema from 4.21.0.20240118 to 4.21.0.20240311. ([#&#8203;17007](https://github.com/element-hq/synapse/issues/17007))
-   Bump types-psycopg2 from 2.9.21.16 to 2.9.21.20240311. ([#&#8203;16995](https://github.com/element-hq/synapse/issues/16995))
-   Bump types-pyopenssl from 23.3.0.0 to 24.0.0.20240311. ([#&#8203;17003](https://github.com/element-hq/synapse/issues/17003))

</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:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNzguMCIsInVwZGF0ZWRJblZlciI6IjM3LjI3OC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Reviewed-on: carsten/container-server#36
Co-authored-by: Renovate Bot <renovate@git.csprung.de>
Co-committed-by: Renovate Bot <renovate@git.csprung.de>
2024-04-04 18:00:49 +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.104.0
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