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.110.0 (#53) 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.109.0` -> `v1.110.0` | --- ### Release Notes <details> <summary>element-hq/synapse (ghcr.io/element-hq/synapse)</summary> ### [`v1.110.0`](https://github.com/element-hq/synapse/releases/tag/v1.110.0) [Compare Source](https://github.com/element-hq/synapse/compare/v1.109.0...v1.110.0) ### Synapse 1.110.0 (2024-07-03) No significant changes since 1.110.0rc3. ### Synapse 1.110.0rc3 (2024-07-02) ##### Bugfixes - Fix bug where `/sync` requests could get blocked indefinitely after an upgrade from Synapse versions before v1.109.0. ([#&#8203;17386](https://github.com/element-hq/synapse/issues/17386), [#&#8203;17391](https://github.com/element-hq/synapse/issues/17391)) ##### Internal Changes - Limit size of presence EDUs to 50 entries. ([#&#8203;17371](https://github.com/element-hq/synapse/issues/17371)) - Fix building debian package for debian sid. ([#&#8203;17389](https://github.com/element-hq/synapse/issues/17389)) ### Synapse 1.110.0rc2 (2024-06-26) ##### Internal Changes - Fix uploading packages to PyPi. ([#&#8203;17363](https://github.com/element-hq/synapse/issues/17363)) ### Synapse 1.110.0rc1 (2024-06-26) ##### Features - Add initial implementation of an experimental [MSC3575](https://github.com/matrix-org/matrix-spec-proposals/pull/3575) Sliding Sync `/sync` endpoint. ([#&#8203;17187](https://github.com/element-hq/synapse/issues/17187), [#&#8203;17301](https://github.com/element-hq/synapse/issues/17301)) - Native sliding sync support is coming, but is not yet ready for usage outside of initial client development and testing. Expect to see much more on this feature in the next few Synapse releases. - Add experimental support for [MSC3823](https://github.com/matrix-org/matrix-spec-proposals/pull/3823) - Account suspension. ([#&#8203;17255](https://github.com/element-hq/synapse/issues/17255)) - Improve ratelimiting in Synapse. ([#&#8203;17256](https://github.com/element-hq/synapse/issues/17256)) - Add support for the unstable [MSC4151](https://github.com/matrix-org/matrix-spec-proposals/pull/4151) report room API. ([#&#8203;17270](https://github.com/element-hq/synapse/issues/17270), [#&#8203;17296](https://github.com/element-hq/synapse/issues/17296)) - Filter for public and empty rooms added to Admin-API [List Room API](https://element-hq.github.io/synapse/latest/admin_api/rooms.html#list-room-api). ([#&#8203;17276](https://github.com/element-hq/synapse/issues/17276)) - Add `is_dm` filtering to experimental [MSC3575](https://github.com/matrix-org/matrix-spec-proposals/pull/3575) Sliding Sync `/sync` endpoint. ([#&#8203;17277](https://github.com/element-hq/synapse/issues/17277)) - Add `is_encrypted` filtering to experimental [MSC3575](https://github.com/matrix-org/matrix-spec-proposals/pull/3575) Sliding Sync `/sync` endpoint. ([#&#8203;17281](https://github.com/element-hq/synapse/issues/17281)) - Include user membership in events served to clients, per [MSC4115](https://github.com/matrix-org/matrix-spec-proposals/pull/4115). ([#&#8203;17282](https://github.com/element-hq/synapse/issues/17282)) - Do not require user-interactive authentication for uploading cross-signing keys for the first time, per [MSC3967](https://github.com/matrix-org/matrix-spec-proposals/pull/3967). ([#&#8203;17284](https://github.com/element-hq/synapse/issues/17284)) - Add `stream_ordering` sort to experimental [MSC3575](https://github.com/matrix-org/matrix-spec-proposals/pull/3575) Sliding Sync `/sync` endpoint. ([#&#8203;17293](https://github.com/element-hq/synapse/issues/17293)) - `register_new_matrix_user` now supports a --password-file flag, which is useful for scripting. ([#&#8203;17294](https://github.com/element-hq/synapse/issues/17294)) - `register_new_matrix_user` now supports a --exists-ok flag to allow registration of users that already exist in the database. This is useful for scripts that bootstrap user accounts with initial passwords. ([#&#8203;17304](https://github.com/element-hq/synapse/issues/17304)) - Add support for via query parameter from [MSC4156](https://github.com/matrix-org/matrix-spec-proposals/pull/4156). ([#&#8203;17322](https://github.com/element-hq/synapse/issues/17322)) - Add `is_invite` filtering to experimental [MSC3575](https://github.com/matrix-org/matrix-spec-proposals/pull/3575) Sliding Sync `/sync` endpoint. ([#&#8203;17335](https://github.com/element-hq/synapse/issues/17335)) - Support [MSC3916](https://github.com/matrix-org/matrix-spec-proposals/blob/rav/authentication-for-media/proposals/3916-authentication-for-media.md) by adding a federation /download endpoint. ([#&#8203;17350](https://github.com/element-hq/synapse/issues/17350)) ##### Bugfixes - Fix searching for users with their exact localpart whose ID includes a hyphen. ([#&#8203;17254](https://github.com/element-hq/synapse/issues/17254)) - Fix wrong retention policy being used when filtering events. ([#&#8203;17272](https://github.com/element-hq/synapse/issues/17272)) - Fix bug where OTKs were not always included in `/sync` response when using workers. ([#&#8203;17275](https://github.com/element-hq/synapse/issues/17275)) - Fix a long-standing bug where an invalid 'from' parameter to [`/notifications`](https://spec.matrix.org/v1.10/client-server-api/#get_matrixclientv3notifications) would result in an Internal Server Error. ([#&#8203;17283](https://github.com/element-hq/synapse/issues/17283)) - Fix edge case in `/sync` returning the wrong the state when using sharded event persisters. ([#&#8203;17295](https://github.com/element-hq/synapse/issues/17295)) - Fix email notification subject when invited to a space. ([#&#8203;17336](https://github.com/element-hq/synapse/issues/17336)) ##### Improved Documentation - Add missing quotes for example for `exclude_rooms_from_sync`. ([#&#8203;17308](https://github.com/element-hq/synapse/issues/17308)) - Update header in the README to visually fix the the auto-generated table of contents. ([#&#8203;17329](https://github.com/element-hq/synapse/issues/17329)) - Fix stale references to the Foundation's Security Disclosure Policy. ([#&#8203;17341](https://github.com/element-hq/synapse/issues/17341)) - Add default values for `rc_invites.per_issuer` to docs. ([#&#8203;17347](https://github.com/element-hq/synapse/issues/17347)) - Fix an error in the docs for `search_all_users` parameter under `user_directory`. ([#&#8203;17348](https://github.com/element-hq/synapse/issues/17348)) ##### Internal Changes - Remove unused `expire_access_token` option in the Synapse Docker config file. Contributed by [@&#8203;AaronDewes](https://github.com/AaronDewes). ([#&#8203;17198](https://github.com/element-hq/synapse/issues/17198)) - Use fully-qualified `PersistedEventPosition` when returning `RoomsForUser` to facilitate proper comparisons and `RoomStreamToken` generation. ([#&#8203;17265](https://github.com/element-hq/synapse/issues/17265)) - Add debug logging for when room keys are uploaded, including whether they are replacing other room keys. ([#&#8203;17266](https://github.com/element-hq/synapse/issues/17266)) - Handle OTK uploads off master. ([#&#8203;17271](https://github.com/element-hq/synapse/issues/17271)) - Don't try and resync devices for remote users whose servers are marked as down. ([#&#8203;17273](https://github.com/element-hq/synapse/issues/17273)) - Re-organize Pydantic models and types used in handlers. ([#&#8203;17279](https://github.com/element-hq/synapse/issues/17279)) - Expose the worker instance that persisted the event on `event.internal_metadata.instance_name`. ([#&#8203;17300](https://github.com/element-hq/synapse/issues/17300)) - Update the README with Element branding, improve headers and fix the #synapse:matrix.org support room link rendering. ([#&#8203;17324](https://github.com/element-hq/synapse/issues/17324)) - Change path of the experimental [MSC3575](https://github.com/matrix-org/matrix-spec-proposals/pull/3575) Sliding Sync implementation to `/org.matrix.simplified_msc3575/sync` since our simplified API is slightly incompatible with what's in the current MSC. ([#&#8203;17331](https://github.com/element-hq/synapse/issues/17331)) - Handle device lists notifications for large accounts more efficiently in worker mode. ([#&#8203;17333](https://github.com/element-hq/synapse/issues/17333), [#&#8203;17358](https://github.com/element-hq/synapse/issues/17358)) - Do not block event sending/receiving while calculating large event auth chains. ([#&#8203;17338](https://github.com/element-hq/synapse/issues/17338)) - Tidy up `parse_integer` docs and call sites to reflect the fact that they require non-negative integers by default, and bring `parse_integer_from_args` default in alignment. Contributed by Denis Kasak ([@&#8203;dkasak](https://github.com/dkasak)). ([#&#8203;17339](https://github.com/element-hq/synapse/issues/17339)) ##### Updates to locked dependencies - Bump authlib from 1.3.0 to 1.3.1. ([#&#8203;17343](https://github.com/element-hq/synapse/issues/17343)) - Bump dawidd6/action-download-artifact from 3.1.4 to 5. ([#&#8203;17289](https://github.com/element-hq/synapse/issues/17289)) - Bump dawidd6/action-download-artifact from 5 to 6. ([#&#8203;17313](https://github.com/element-hq/synapse/issues/17313)) - Bump docker/build-push-action from 5 to 6. ([#&#8203;17312](https://github.com/element-hq/synapse/issues/17312)) - Bump jinja2 from 3.1.3 to 3.1.4. ([#&#8203;17287](https://github.com/element-hq/synapse/issues/17287)) - Bump lazy_static from 1.4.0 to 1.5.0. ([#&#8203;17355](https://github.com/element-hq/synapse/issues/17355)) - Bump msgpack from 1.0.7 to 1.0.8. ([#&#8203;17317](https://github.com/element-hq/synapse/issues/17317)) - Bump netaddr from 1.2.1 to 1.3.0. ([#&#8203;17353](https://github.com/element-hq/synapse/issues/17353)) - Bump packaging from 24.0 to 24.1. ([#&#8203;17352](https://github.com/element-hq/synapse/issues/17352)) - Bump phonenumbers from 8.13.37 to 8.13.39. ([#&#8203;17315](https://github.com/element-hq/synapse/issues/17315)) - Bump regex from 1.10.4 to 1.10.5. ([#&#8203;17290](https://github.com/element-hq/synapse/issues/17290)) - Bump requests from 2.31.0 to 2.32.2. ([#&#8203;17345](https://github.com/element-hq/synapse/issues/17345)) - Bump sentry-sdk from 2.1.1 to 2.3.1. ([#&#8203;17263](https://github.com/element-hq/synapse/issues/17263)) - Bump sentry-sdk from 2.3.1 to 2.6.0. ([#&#8203;17351](https://github.com/element-hq/synapse/issues/17351)) - Bump tornado from 6.4 to 6.4.1. ([#&#8203;17344](https://github.com/element-hq/synapse/issues/17344)) - Bump mypy from 1.8.0 to 1.9.0. ([#&#8203;17297](https://github.com/element-hq/synapse/issues/17297)) - Bump types-jsonschema from 4.21.0.20240311 to 4.22.0.20240610. ([#&#8203;17288](https://github.com/element-hq/synapse/issues/17288)) - Bump types-netaddr from 1.2.0.20240219 to 1.3.0.20240530. ([#&#8203;17314](https://github.com/element-hq/synapse/issues/17314)) - Bump types-pillow from 10.2.0.20240423 to 10.2.0.20240520. ([#&#8203;17285](https://github.com/element-hq/synapse/issues/17285)) - Bump types-pyyaml from 6.0.12.12 to 6.0.12.20240311. ([#&#8203;17316](https://github.com/element-hq/synapse/issues/17316)) - Bump typing-extensions from 4.11.0 to 4.12.2. ([#&#8203;17354](https://github.com/element-hq/synapse/issues/17354)) - Bump urllib3 from 2.0.7 to 2.2.2. ([#&#8203;17346](https://github.com/element-hq/synapse/issues/17346)) </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:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjEuMCIsInVwZGF0ZWRJblZlciI6IjM3LjQyMS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> Reviewed-on: https://git.csprung.de/csp/container-server/pulls/53 Co-authored-by: Renovate Bot <renovate@git.csprung.de> Co-committed-by: Renovate Bot <renovate@git.csprung.de>
2024-07-07 17:16:34 +02:00
image: ghcr.io/element-hq/synapse:v1.110.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