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

47 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.116.0 (#78) 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.115.0` -> `v1.116.0` | --- ### Release Notes <details> <summary>element-hq/synapse (ghcr.io/element-hq/synapse)</summary> ### [`v1.116.0`](https://github.com/element-hq/synapse/releases/tag/v1.116.0) [Compare Source](https://github.com/element-hq/synapse/compare/v1.115.0...v1.116.0) ### Synapse 1.116.0 (2024-10-01) No significant changes since 1.116.0rc2. ### Synapse 1.116.0rc2 (2024-09-26) ##### Features - Add implementation of restricting who can overwrite a state event as proposed by [MSC3757](https://github.com/matrix-org/matrix-spec-proposals/pull/3757). ([#&#8203;17513](https://github.com/element-hq/synapse/issues/17513)) ### Synapse 1.116.0rc1 (2024-09-25) ##### Features - Add initial implementation of delayed events as proposed by [MSC4140](https://github.com/matrix-org/matrix-spec-proposals/pull/4140). ([#&#8203;17326](https://github.com/element-hq/synapse/issues/17326)) - Add an asynchronous Admin API endpoint [to redact all a user's events](https://element-hq.github.io/synapse/v1.116/admin_api/user_admin_api.html#redact-all-the-events-of-a-user), and [an endpoint to check on the status of that redaction task](https://element-hq.github.io/synapse/v1.116/admin_api/user_admin_api.html#check-the-status-of-a-redaction-process). ([#&#8203;17506](https://github.com/element-hq/synapse/issues/17506)) - Add support for the `tags` and `not_tags` filters for [MSC4186](https://github.com/matrix-org/matrix-spec-proposals/pull/4186) Sliding Sync. ([#&#8203;17662](https://github.com/element-hq/synapse/issues/17662)) - Guests can use the new media endpoints to download media, as described by [MSC4189](https://github.com/matrix-org/matrix-spec-proposals/pull/4189). ([#&#8203;17675](https://github.com/element-hq/synapse/issues/17675)) - Add config option `turn_shared_secret_path`. ([#&#8203;17690](https://github.com/element-hq/synapse/issues/17690)) - Return room tags in [MSC4186](https://github.com/matrix-org/matrix-spec-proposals/pull/4186) Sliding Sync account data extension. ([#&#8203;17707](https://github.com/element-hq/synapse/issues/17707)) ##### Bugfixes - Make sure we get up-to-date state information when using the new [MSC4186](https://github.com/matrix-org/matrix-spec-proposals/pull/4186) Sliding Sync tables to derive room membership. ([#&#8203;17692](https://github.com/element-hq/synapse/issues/17692)) - Fix bug where room account data would not correctly be sent down [MSC4186](https://github.com/matrix-org/matrix-spec-proposals/pull/4186) Sliding Sync for old rooms. ([#&#8203;17695](https://github.com/element-hq/synapse/issues/17695)) - Fix a bug in [MSC4186](https://github.com/matrix-org/matrix-spec-proposals/pull/4186) Sliding Sync which could prevent /sync from working for certain user accounts. ([#&#8203;17727](https://github.com/element-hq/synapse/issues/17727), [#&#8203;17733](https://github.com/element-hq/synapse/issues/17733)) - Ignore invites from ignored users in Sliding Sync. ([#&#8203;17729](https://github.com/element-hq/synapse/issues/17729)) - Fix bug in [MSC4186](https://github.com/matrix-org/matrix-spec-proposals/pull/4186) Sliding Sync where the server would incorrectly return a negative bump stamp, which caused Element X apps to stop syncing. ([#&#8203;17748](https://github.com/element-hq/synapse/issues/17748)) ##### Internal Changes - Import pydantic objects from the `_pydantic_compat` module. This allows `check_pydantic_models.py` to mock those pydantic objects only in the synapse module, and not interfere with pydantic objects in external dependencies. ([#&#8203;17667](https://github.com/element-hq/synapse/issues/17667)) - Use [MSC4186](https://github.com/matrix-org/matrix-spec-proposals/pull/4186) Sliding Sync tables as a bulk shortcut for getting the max `event_stream_ordering` of rooms. ([#&#8203;17693](https://github.com/element-hq/synapse/issues/17693)) - Speed up [MSC4186](https://github.com/matrix-org/matrix-spec-proposals/pull/4186) sliding sync requests a bit where there are many room changes. ([#&#8203;17696](https://github.com/element-hq/synapse/issues/17696)) - Refactor [MSC4186](https://github.com/matrix-org/matrix-spec-proposals/pull/4186) sliding sync filter unit tests so the sliding sync API has better test coverage. ([#&#8203;17703](https://github.com/element-hq/synapse/issues/17703)) - Fetch `bump_stamp`s more efficiently in [MSC4186](https://github.com/matrix-org/matrix-spec-proposals/pull/4186) Sliding Sync. ([#&#8203;17723](https://github.com/element-hq/synapse/issues/17723)) - Shortcut for checking if certain background updates have completed (utilized in [MSC4186](https://github.com/matrix-org/matrix-spec-proposals/pull/4186) Sliding Sync). ([#&#8203;17724](https://github.com/element-hq/synapse/issues/17724)) - More efficiently fetch rooms for [MSC4186](https://github.com/matrix-org/matrix-spec-proposals/pull/4186) Sliding Sync. ([#&#8203;17725](https://github.com/element-hq/synapse/issues/17725)) - Fix `_bulk_get_max_event_pos` being inefficient. ([#&#8203;17728](https://github.com/element-hq/synapse/issues/17728)) - Add cache to `get_tags_for_room(...)`. ([#&#8203;17730](https://github.com/element-hq/synapse/issues/17730)) - Small performance improvement in speeding up [MSC4186](https://github.com/matrix-org/matrix-spec-proposals/pull/4186) Sliding Sync. ([#&#8203;17731](https://github.com/element-hq/synapse/issues/17731)) - Minor speed up of initial [MSC4186](https://github.com/matrix-org/matrix-spec-proposals/pull/4186) sliding sync requests. ([#&#8203;17734](https://github.com/element-hq/synapse/issues/17734)) - Remove usage of the deprecated `cgi` module, deprecated in Python 3.11 and removed in Python 3.13. ([#&#8203;17741](https://github.com/element-hq/synapse/issues/17741)) - Fix typing of a variable that is not `Unknown` anymore after updating `treq`. ([#&#8203;17744](https://github.com/element-hq/synapse/issues/17744)) ##### Updates to locked dependencies - Bump anyhow from 1.0.86 to 1.0.89. ([#&#8203;17685](https://github.com/element-hq/synapse/issues/17685), [#&#8203;17716](https://github.com/element-hq/synapse/issues/17716)) - Bump bytes from 1.7.1 to 1.7.2. ([#&#8203;17743](https://github.com/element-hq/synapse/issues/17743)) - Bump cryptography from 43.0.0 to 43.0.1. ([#&#8203;17689](https://github.com/element-hq/synapse/issues/17689)) - Bump idna from 3.8 to 3.10. ([#&#8203;17758](https://github.com/element-hq/synapse/issues/17758)) - Bump msgpack from 1.0.8 to 1.1.0. ([#&#8203;17759](https://github.com/element-hq/synapse/issues/17759)) - Bump phonenumbers from 8.13.44 to 8.13.45. ([#&#8203;17762](https://github.com/element-hq/synapse/issues/17762)) - Bump prometheus-client from 0.20.0 to 0.21.0. ([#&#8203;17746](https://github.com/element-hq/synapse/issues/17746)) - Bump pyasn1 from 0.6.0 to 0.6.1. ([#&#8203;17714](https://github.com/element-hq/synapse/issues/17714)) - Bump pyasn1-modules from 0.4.0 to 0.4.1. ([#&#8203;17747](https://github.com/element-hq/synapse/issues/17747)) - Bump pydantic from 2.8.2 to 2.9.2. ([#&#8203;17756](https://github.com/element-hq/synapse/issues/17756)) - Bump python-multipart from 0.0.9 to 0.0.10. ([#&#8203;17745](https://github.com/element-hq/synapse/issues/17745)) - Bump ruff from 0.6.4 to 0.6.7. ([#&#8203;17715](https://github.com/element-hq/synapse/issues/17715), [#&#8203;17760](https://github.com/element-hq/synapse/issues/17760)) - Bump sentry-sdk from 2.13.0 to 2.14.0. ([#&#8203;17712](https://github.com/element-hq/synapse/issues/17712)) - Bump serde from 1.0.209 to 1.0.210. ([#&#8203;17686](https://github.com/element-hq/synapse/issues/17686)) - Bump serde_json from 1.0.127 to 1.0.128. ([#&#8203;17687](https://github.com/element-hq/synapse/issues/17687)) - Bump treq from 23.11.0 to 24.9.1. ([#&#8203;17744](https://github.com/element-hq/synapse/issues/17744)) - Bump types-pyyaml from 6.0.12.20240808 to 6.0.12.20240917. ([#&#8203;17755](https://github.com/element-hq/synapse/issues/17755)) - Bump types-requests from 2.32.0.20240712 to 2.32.0.20240914. ([#&#8203;17713](https://github.com/element-hq/synapse/issues/17713)) - Bump types-setuptools from 74.1.0.20240907 to 75.1.0.20240917. ([#&#8203;17757](https://github.com/element-hq/synapse/issues/17757)) </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:eyJjcmVhdGVkSW5WZXIiOiIzOC4xMDEuMCIsInVwZGF0ZWRJblZlciI6IjM4LjEwMS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> Reviewed-on: https://git.csprung.de/csp/container-server/pulls/78 Co-authored-by: Renovate Bot <renovate@git.csprung.de> Co-committed-by: Renovate Bot <renovate@git.csprung.de>
2024-10-02 10:44:33 +02:00
image: ghcr.io/element-hq/synapse:v1.116.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
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