container-server/services/matrix/docker-compose.yml

48 lines
1.3 KiB
YAML
Raw Normal View History

2019-11-10 23:46:12 +01:00
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
2019-11-10 23:46:12 +01:00
networks:
matrix:
services:
matrix:
chore(deps): update ghcr.io/element-hq/synapse docker tag to v1.111.0 (#55) 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.110.0` -> `v1.111.0` | --- ### Release Notes <details> <summary>element-hq/synapse (ghcr.io/element-hq/synapse)</summary> ### [`v1.111.0`](https://github.com/element-hq/synapse/releases/tag/v1.111.0) [Compare Source](https://github.com/element-hq/synapse/compare/v1.110.0...v1.111.0) ### Synapse 1.111.0 (2024-07-16) No significant changes since 1.111.0rc2. ### Synapse 1.111.0rc2 (2024-07-10) ##### Bugfixes - Fix bug where using `synapse.app.media_repository` worker configuration would break the new media endpoints. ([#&#8203;17420](https://github.com/element-hq/synapse/issues/17420)) ##### Improved Documentation - Document the new federation media worker endpoints in the [upgrade notes](https://element-hq.github.io/synapse/v1.111/upgrade.html) and [worker docs](https://element-hq.github.io/synapse/v1.111/workers.html). ([#&#8203;17421](https://github.com/element-hq/synapse/issues/17421)) ##### Internal Changes - Route authenticated federation media requests to media repository workers in Complement tests. ([#&#8203;17422](https://github.com/element-hq/synapse/issues/17422)) ### Synapse 1.111.0rc1 (2024-07-09) ##### Features - Add `rooms` data to experimental [MSC3575](https://github.com/matrix-org/matrix-spec-proposals/pull/3575) Sliding Sync `/sync` endpoint. ([#&#8203;17320](https://github.com/element-hq/synapse/issues/17320)) - Add `room_types`/`not_room_types` filtering to experimental [MSC3575](https://github.com/matrix-org/matrix-spec-proposals/pull/3575) Sliding Sync `/sync` endpoint. ([#&#8203;17337](https://github.com/element-hq/synapse/issues/17337)) - Return "required state" in experimental [MSC3575](https://github.com/matrix-org/matrix-spec-proposals/pull/3575) Sliding Sync `/sync` endpoint. ([#&#8203;17342](https://github.com/element-hq/synapse/issues/17342)) - Support [MSC3916](https://github.com/matrix-org/matrix-spec-proposals/blob/main/proposals/3916-authentication-for-media.md) by adding [`_matrix/client/v1/media/download`](https://spec.matrix.org/v1.11/client-server-api/#get_matrixclientv1mediadownloadservernamemediaid) endpoint. ([#&#8203;17365](https://github.com/element-hq/synapse/issues/17365)) - Support [MSC3916](https://github.com/matrix-org/matrix-spec-proposals/blob/rav/authentication-for-media/proposals/3916-authentication-for-media.md) by adding [`_matrix/client/v1/media/thumbnail`](https://spec.matrix.org/v1.11/client-server-api/#get_matrixclientv1mediathumbnailservernamemediaid), [`_matrix/federation/v1/media/thumbnail`](https://spec.matrix.org/v1.11/server-server-api/#get_matrixfederationv1mediathumbnailmediaid) endpoints and stabilizing the remaining [`_matrix/client/v1/media`](https://spec.matrix.org/v1.11/client-server-api/#get_matrixclientv1mediaconfig) endpoints. ([#&#8203;17388](https://github.com/element-hq/synapse/issues/17388)) - Add `rooms.bump_stamp` for easier client-side sorting in experimental [MSC3575](https://github.com/matrix-org/matrix-spec-proposals/pull/3575) Sliding Sync `/sync` endpoint. ([#&#8203;17395](https://github.com/element-hq/synapse/issues/17395)) - Forget all of a user's rooms upon deactivation, preventing local room purges from being blocked on deactivated users. ([#&#8203;17400](https://github.com/element-hq/synapse/issues/17400)) - Declare support for [Matrix 1.11](https://matrix.org/blog/2024/06/20/matrix-v1.11-release/). ([#&#8203;17403](https://github.com/element-hq/synapse/issues/17403)) - [MSC3861](https://github.com/matrix-org/matrix-spec-proposals/pull/3861): allow overriding the introspection endpoint. ([#&#8203;17406](https://github.com/element-hq/synapse/issues/17406)) ##### Bugfixes - Fix rare race which caused no new to-device messages to be received from remote server. ([#&#8203;17362](https://github.com/element-hq/synapse/issues/17362)) - Fix bug in experimental [MSC3575](https://github.com/matrix-org/matrix-spec-proposals/pull/3575) Sliding Sync `/sync` endpoint when using an old database. ([#&#8203;17398](https://github.com/element-hq/synapse/issues/17398)) ##### Improved Documentation - Clarify that `url_preview_url_blacklist` is a usability feature. ([#&#8203;17356](https://github.com/element-hq/synapse/issues/17356)) - Fix broken links in README. ([#&#8203;17379](https://github.com/element-hq/synapse/issues/17379)) - Clarify that changelog content *and file extension* need to match in order for entries to merge. ([#&#8203;17399](https://github.com/element-hq/synapse/issues/17399)) ##### Internal Changes - Make the release script create a release branch for Complement as well. ([#&#8203;17318](https://github.com/element-hq/synapse/issues/17318)) - Fix uploading packages to PyPi. ([#&#8203;17363](https://github.com/element-hq/synapse/issues/17363)) - Add CI check for the README. ([#&#8203;17367](https://github.com/element-hq/synapse/issues/17367)) - Fix linting errors from new `ruff` version. ([#&#8203;17381](https://github.com/element-hq/synapse/issues/17381), [#&#8203;17411](https://github.com/element-hq/synapse/issues/17411)) - Fix building debian packages on non-clean checkouts. ([#&#8203;17390](https://github.com/element-hq/synapse/issues/17390)) - Finish up work to allow per-user feature flags. ([#&#8203;17392](https://github.com/element-hq/synapse/issues/17392), [#&#8203;17410](https://github.com/element-hq/synapse/issues/17410)) - Allow enabling sliding sync per-user. ([#&#8203;17393](https://github.com/element-hq/synapse/issues/17393)) ##### Updates to locked dependencies - Bump certifi from 2023.7.22 to 2024.7.4. ([#&#8203;17404](https://github.com/element-hq/synapse/issues/17404)) - Bump cryptography from 42.0.7 to 42.0.8. ([#&#8203;17382](https://github.com/element-hq/synapse/issues/17382)) - Bump ijson from 3.2.3 to 3.3.0. ([#&#8203;17413](https://github.com/element-hq/synapse/issues/17413)) - Bump log from 0.4.21 to 0.4.22. ([#&#8203;17384](https://github.com/element-hq/synapse/issues/17384)) - Bump mypy-zope from 1.0.4 to 1.0.5. ([#&#8203;17414](https://github.com/element-hq/synapse/issues/17414)) - Bump pillow from 10.3.0 to 10.4.0. ([#&#8203;17412](https://github.com/element-hq/synapse/issues/17412)) - Bump pydantic from 2.7.1 to 2.8.2. ([#&#8203;17415](https://github.com/element-hq/synapse/issues/17415)) - Bump ruff from 0.3.7 to 0.5.0. ([#&#8203;17381](https://github.com/element-hq/synapse/issues/17381)) - Bump serde from 1.0.203 to 1.0.204. ([#&#8203;17409](https://github.com/element-hq/synapse/issues/17409)) - Bump serde_json from 1.0.117 to 1.0.120. ([#&#8203;17385](https://github.com/element-hq/synapse/issues/17385), [#&#8203;17408](https://github.com/element-hq/synapse/issues/17408)) - Bump types-setuptools from 69.5.0.20240423 to 70.1.0.20240627. ([#&#8203;17380](https://github.com/element-hq/synapse/issues/17380)) </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:eyJjcmVhdGVkSW5WZXIiOiIzNy40MzEuNCIsInVwZGF0ZWRJblZlciI6IjM3LjQzMS40IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> Reviewed-on: https://git.csprung.de/csp/container-server/pulls/55 Co-authored-by: Renovate Bot <renovate@git.csprung.de> Co-committed-by: Renovate Bot <renovate@git.csprung.de>
2024-07-21 21:52:54 +02:00
image: ghcr.io/element-hq/synapse:v1.111.0
2019-11-10 23:46:12 +01:00
container_name: matrix
2019-12-04 22:00:35 +01:00
restart: "${RESTART:-no}"
2019-12-05 22:37:25 +01:00
hostname: matrix
domainname: ${BASE_DOMAIN}
2019-11-10 23:46:12 +01:00
environment:
- SYNAPSE_CONFIG_DIR=/config
- TZ=DE
- UID=0
- GID=0
volumes:
- ./matrix/config:/config:ro
2019-12-25 15:48:01 +01:00
- ${BASE_DIR:-/srv}/matrix/data:/data
2019-11-10 23:46:12 +01:00
depends_on:
- pg-matrix
networks:
- proxy
- matrix
pg-matrix:
image: postgres:16-alpine
2019-11-10 23:46:12 +01:00
container_name: pg-matrix
2019-12-04 22:00:35 +01:00
restart: "${RESTART:-no}"
2019-11-10 23:46:12 +01:00
environment:
- POSTGRES_DB=matrix
- POSTGRES_USER=matrix
2019-11-10 23:46:12 +01:00
- POSTGRES_PASSWORD=${MATRIX_PG_PWD:-matrix}
- POSTGRES_INITDB_ARGS=--encoding=UTF-8 --lc-collate=C --lc-ctype=C
2019-11-10 23:46:12 +01:00
volumes:
2019-12-25 15:48:01 +01:00
- ${BASE_DIR:-/srv}/matrix/psql:/var/lib/postgresql/data
2019-11-10 23:46:12 +01:00
networks:
- matrix