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.115.0 (#68) 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.114.0` -> `v1.115.0` | --- ### Release Notes <details> <summary>element-hq/synapse (ghcr.io/element-hq/synapse)</summary> ### [`v1.115.0`](https://github.com/element-hq/synapse/releases/tag/v1.115.0) [Compare Source](https://github.com/element-hq/synapse/compare/v1.114.0...v1.115.0) ### Synapse 1.115.0 (2024-09-17) No significant changes since 1.115.0rc2. ### Synapse 1.115.0rc2 (2024-09-12) ##### Internal Changes - Pre-populate room data used in experimental [MSC3575](https://github.com/matrix-org/matrix-spec-proposals/pull/3575) Sliding Sync `/sync` endpoint for quick filtering/sorting. ([#&#8203;17652](https://github.com/element-hq/synapse/issues/17652)) - Speed up sliding sync by reducing amount of data pulled out of the database for large rooms. ([#&#8203;17683](https://github.com/element-hq/synapse/issues/17683)) ### Synapse 1.115.0rc1 (2024-09-10) ##### Features - Improve cross-signing upload when using [MSC3861](https://github.com/matrix-org/matrix-spec-proposals/pull/3861) to use a custom UIA flow stage, with web fallback support. ([#&#8203;17509](https://github.com/element-hq/synapse/issues/17509)) ##### Bugfixes - Return `400 M_BAD_JSON` upon attempting to complete various room actions with a non-local user ID and unknown room ID, rather than an internal server error. ([#&#8203;17607](https://github.com/element-hq/synapse/issues/17607)) - Fix authenticated media responses using a wrong limit when following redirects over federation. ([#&#8203;17626](https://github.com/element-hq/synapse/issues/17626)) - Fix bug where we returned the wrong `bump_stamp` for invites in sliding sync response, causing incorrect ordering of invites in the room list. ([#&#8203;17674](https://github.com/element-hq/synapse/issues/17674)) ##### Improved Documentation - Clarify that the admin api resource is only loaded on the main process and not workers. ([#&#8203;17590](https://github.com/element-hq/synapse/issues/17590)) - Fixed typo in `saml2_config` config [example](https://element-hq.github.io/synapse/latest/usage/configuration/config_documentation.html#saml2\_config). ([#&#8203;17594](https://github.com/element-hq/synapse/issues/17594)) ##### Deprecations and Removals - Stabilise [MSC4156](https://github.com/matrix-org/matrix-spec-proposals/pull/4156) by removing the `msc4156_enabled` config setting and defaulting it to `true`. ([#&#8203;17650](https://github.com/element-hq/synapse/issues/17650)) ##### Internal Changes - Update [MSC3861](https://github.com/matrix-org/matrix-spec-proposals/pull/3861) implementation: load the issuer and account management URLs from OIDC discovery. ([#&#8203;17407](https://github.com/element-hq/synapse/issues/17407)) - Pre-populate room data used in experimental [MSC3575](https://github.com/matrix-org/matrix-spec-proposals/pull/3575) Sliding Sync `/sync` endpoint for quick filtering/sorting. ([#&#8203;17512](https://github.com/element-hq/synapse/issues/17512), [#&#8203;17632](https://github.com/element-hq/synapse/issues/17632), [#&#8203;17633](https://github.com/element-hq/synapse/issues/17633), [#&#8203;17634](https://github.com/element-hq/synapse/issues/17634), [#&#8203;17635](https://github.com/element-hq/synapse/issues/17635), [#&#8203;17636](https://github.com/element-hq/synapse/issues/17636), [#&#8203;17641](https://github.com/element-hq/synapse/issues/17641), [#&#8203;17654](https://github.com/element-hq/synapse/issues/17654), [#&#8203;17673](https://github.com/element-hq/synapse/issues/17673)) - Store sliding sync per-connection state in the database. ([#&#8203;17599](https://github.com/element-hq/synapse/issues/17599), [#&#8203;17631](https://github.com/element-hq/synapse/issues/17631)) - Make the sliding sync `PerConnectionState` class immutable. ([#&#8203;17600](https://github.com/element-hq/synapse/issues/17600)) - Replace `isort` and `black` with `ruff`. ([#&#8203;17620](https://github.com/element-hq/synapse/issues/17620), [#&#8203;17643](https://github.com/element-hq/synapse/issues/17643)) - Sliding Sync: Split up `get_room_membership_for_user_at_to_token`. ([#&#8203;17629](https://github.com/element-hq/synapse/issues/17629)) - Use new database tables for sliding sync. ([#&#8203;17630](https://github.com/element-hq/synapse/issues/17630), [#&#8203;17649](https://github.com/element-hq/synapse/issues/17649)) - Prevent duplicate tags being added to Sliding Sync traces. ([#&#8203;17655](https://github.com/element-hq/synapse/issues/17655)) - Get `bump_stamp` from [new sliding sync tables](https://github.com/element-hq/synapse/pull/17512) which should be faster. ([#&#8203;17658](https://github.com/element-hq/synapse/issues/17658)) - Speed up incremental Sliding Sync requests by avoiding extra work. ([#&#8203;17665](https://github.com/element-hq/synapse/issues/17665)) - Small performance improvement in speeding up sliding sync. ([#&#8203;17666](https://github.com/element-hq/synapse/issues/17666), [#&#8203;17670](https://github.com/element-hq/synapse/issues/17670), [#&#8203;17672](https://github.com/element-hq/synapse/issues/17672)) - Speed up sliding sync by reducing number of database calls. ([#&#8203;17684](https://github.com/element-hq/synapse/issues/17684)) - Speed up sync by pulling out fewer events from the database. ([#&#8203;17688](https://github.com/element-hq/synapse/issues/17688)) ##### Updates to locked dependencies - Bump authlib from 1.3.1 to 1.3.2. ([#&#8203;17679](https://github.com/element-hq/synapse/issues/17679)) - Bump idna from 3.7 to 3.8. ([#&#8203;17682](https://github.com/element-hq/synapse/issues/17682)) - Bump ruff from 0.6.2 to 0.6.4. ([#&#8203;17680](https://github.com/element-hq/synapse/issues/17680)) - Bump towncrier from 24.7.1 to 24.8.0. ([#&#8203;17645](https://github.com/element-hq/synapse/issues/17645)) - Bump twisted from 24.7.0rc1 to 24.7.0. ([#&#8203;17647](https://github.com/element-hq/synapse/issues/17647)) - Bump types-pillow from 10.2.0.20240520 to 10.2.0.20240822. ([#&#8203;17644](https://github.com/element-hq/synapse/issues/17644)) - Bump types-psycopg2 from 2.9.21.20240417 to 2.9.21.20240819. ([#&#8203;17646](https://github.com/element-hq/synapse/issues/17646)) - Bump types-setuptools from 71.1.0.20240818 to 74.1.0.20240907. ([#&#8203;17681](https://github.com/element-hq/synapse/issues/17681)) </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:eyJjcmVhdGVkSW5WZXIiOiIzOC43OS4wIiwidXBkYXRlZEluVmVyIjoiMzguNzkuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==--> Reviewed-on: https://git.csprung.de/csp/container-server/pulls/68 Co-authored-by: Renovate Bot <renovate@git.csprung.de> Co-committed-by: Renovate Bot <renovate@git.csprung.de>
2024-09-26 19:40:43 +02:00
image: ghcr.io/element-hq/synapse:v1.115.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:17-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