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.109.0 (#49) 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.108.0` -> `v1.109.0` | --- ### Release Notes <details> <summary>element-hq/synapse (ghcr.io/element-hq/synapse)</summary> ### [`v1.109.0`](https://github.com/element-hq/synapse/releases/tag/v1.109.0) [Compare Source](https://github.com/element-hq/synapse/compare/v1.108.0...v1.109.0) ### Synapse 1.109.0 (2024-06-18) ##### Internal Changes - Fix the building of binary wheels for macOS by switching to macOS 12 CI runners. ([#&#8203;17319](https://github.com/element-hq/synapse/issues/17319)) ### Synapse 1.109.0rc3 (2024-06-17) ##### Bugfixes - When rolling back to a previous Synapse version and then forwards again to this release, don't require server operators to manually run SQL. ([#&#8203;17305](https://github.com/element-hq/synapse/issues/17305), [#&#8203;17309](https://github.com/element-hq/synapse/issues/17309)) ##### Internal Changes - Use the release branch for sytest in release-branch PRs. ([#&#8203;17306](https://github.com/element-hq/synapse/issues/17306)) ### Synapse 1.109.0rc2 (2024-06-11) ##### Bugfixes - Fix bug where one-time-keys were not always included in `/sync` response when using workers. Introduced in v1.109.0rc1. ([#&#8203;17275](https://github.com/element-hq/synapse/issues/17275)) - Fix bug where `/sync` could get stuck due to edge case in device lists handling. Introduced in v1.109.0rc1. ([#&#8203;17292](https://github.com/element-hq/synapse/issues/17292)) ### Synapse 1.109.0rc1 (2024-06-04) ##### Features - Add the ability to auto-accept invites on the behalf of users. See the [`auto_accept_invites`](https://element-hq.github.io/synapse/latest/usage/configuration/config_documentation.html#auto-accept-invites) config option for details. ([#&#8203;17147](https://github.com/element-hq/synapse/issues/17147)) - Add experimental [MSC3575](https://github.com/matrix-org/matrix-spec-proposals/pull/3575) Sliding Sync `/sync/e2ee` endpoint for to-device messages and device encryption info. ([#&#8203;17167](https://github.com/element-hq/synapse/issues/17167)) - Support [MSC3916](https://github.com/matrix-org/matrix-spec-proposals/issues/3916) by adding unstable media endpoints to `/_matrix/client`. ([#&#8203;17213](https://github.com/element-hq/synapse/issues/17213)) - Add logging to tasks managed by the task scheduler, showing CPU and database usage. ([#&#8203;17219](https://github.com/element-hq/synapse/issues/17219)) ##### Bugfixes - Fix deduplicating of membership events to not create unused state groups. ([#&#8203;17164](https://github.com/element-hq/synapse/issues/17164)) - Fix bug where duplicate events could be sent down sync when using workers that are overloaded. ([#&#8203;17215](https://github.com/element-hq/synapse/issues/17215)) - Ignore attempts to send to-device messages to bad users, to avoid log spam when we try to connect to the bad server. ([#&#8203;17240](https://github.com/element-hq/synapse/issues/17240)) - Fix handling of duplicate concurrent uploading of device one-time-keys. ([#&#8203;17241](https://github.com/element-hq/synapse/issues/17241)) - Fix reporting of default tags to Sentry, such as worker name. Broke in v1.108.0. ([#&#8203;17251](https://github.com/element-hq/synapse/issues/17251)) - Fix bug where typing updates would not be sent when using workers after a restart. ([#&#8203;17252](https://github.com/element-hq/synapse/issues/17252)) ##### Improved Documentation - Update the LemonLDAP documentation to say that claims should be explicitly included in the returned `id_token`, as Synapse won't request them. ([#&#8203;17204](https://github.com/element-hq/synapse/issues/17204)) ##### Internal Changes - Improve DB usage when fetching related events. ([#&#8203;17083](https://github.com/element-hq/synapse/issues/17083)) - Log exceptions when failing to auto-join new user according to the `auto_join_rooms` option. ([#&#8203;17176](https://github.com/element-hq/synapse/issues/17176)) - Reduce work of calculating outbound device lists updates. ([#&#8203;17211](https://github.com/element-hq/synapse/issues/17211)) - Improve performance of calculating device lists changes in `/sync`. ([#&#8203;17216](https://github.com/element-hq/synapse/issues/17216)) - Move towards using `MultiWriterIdGenerator` everywhere. ([#&#8203;17226](https://github.com/element-hq/synapse/issues/17226)) - Replaces all usages of `StreamIdGenerator` with `MultiWriterIdGenerator`. ([#&#8203;17229](https://github.com/element-hq/synapse/issues/17229)) - Change the `allow_unsafe_locale` config option to also apply when setting up new databases. ([#&#8203;17238](https://github.com/element-hq/synapse/issues/17238)) - Fix errors in logs about closing incorrect logging contexts when media gets rejected by a module. ([#&#8203;17239](https://github.com/element-hq/synapse/issues/17239), [#&#8203;17246](https://github.com/element-hq/synapse/issues/17246)) - Clean out invalid destinations from `device_federation_outbox` table. ([#&#8203;17242](https://github.com/element-hq/synapse/issues/17242)) - Stop logging errors when receiving invalid User IDs in key querys requests. ([#&#8203;17250](https://github.com/element-hq/synapse/issues/17250)) ##### Updates to locked dependencies - Bump anyhow from 1.0.83 to 1.0.86. ([#&#8203;17220](https://github.com/element-hq/synapse/issues/17220)) - Bump bcrypt from 4.1.2 to 4.1.3. ([#&#8203;17224](https://github.com/element-hq/synapse/issues/17224)) - Bump lxml from 5.2.1 to 5.2.2. ([#&#8203;17261](https://github.com/element-hq/synapse/issues/17261)) - Bump mypy-zope from 1.0.3 to 1.0.4. ([#&#8203;17262](https://github.com/element-hq/synapse/issues/17262)) - Bump phonenumbers from 8.13.35 to 8.13.37. ([#&#8203;17235](https://github.com/element-hq/synapse/issues/17235)) - Bump prometheus-client from 0.19.0 to 0.20.0. ([#&#8203;17233](https://github.com/element-hq/synapse/issues/17233)) - Bump pyasn1 from 0.5.1 to 0.6.0. ([#&#8203;17223](https://github.com/element-hq/synapse/issues/17223)) - Bump pyicu from 2.13 to 2.13.1. ([#&#8203;17236](https://github.com/element-hq/synapse/issues/17236)) - Bump pyopenssl from 24.0.0 to 24.1.0. ([#&#8203;17234](https://github.com/element-hq/synapse/issues/17234)) - Bump serde from 1.0.201 to 1.0.202. ([#&#8203;17221](https://github.com/element-hq/synapse/issues/17221)) - Bump serde from 1.0.202 to 1.0.203. ([#&#8203;17232](https://github.com/element-hq/synapse/issues/17232)) - Bump twine from 5.0.0 to 5.1.0. ([#&#8203;17225](https://github.com/element-hq/synapse/issues/17225)) - Bump types-psycopg2 from 2.9.21.20240311 to 2.9.21.20240417. ([#&#8203;17222](https://github.com/element-hq/synapse/issues/17222)) - Bump types-pyopenssl from 24.0.0.20240311 to 24.1.0.20240425. ([#&#8203;17260](https://github.com/element-hq/synapse/issues/17260)) </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:eyJjcmVhdGVkSW5WZXIiOiIzNy40MDguMiIsInVwZGF0ZWRJblZlciI6IjM3LjQwOC4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> Reviewed-on: https://git.csprung.de/carsten/container-server/pulls/49 Co-authored-by: Renovate Bot <renovate@git.csprung.de> Co-committed-by: Renovate Bot <renovate@git.csprung.de>
2024-06-24 19:01:31 +02:00
image: ghcr.io/element-hq/synapse:v1.109.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