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.107.0 (#43) 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.106.0` -> `v1.107.0` | --- ### Release Notes <details> <summary>element-hq/synapse (ghcr.io/element-hq/synapse)</summary> ### [`v1.107.0`](https://github.com/element-hq/synapse/releases/tag/v1.107.0) [Compare Source](https://github.com/element-hq/synapse/compare/v1.106.0...v1.107.0) # Synapse 1.107.0 (2024-05-14) No significant changes since 1.107.0rc1. ### Synapse 1.107.0rc1 (2024-05-07) ##### Features - Add preliminary support for [MSC3823: Account Suspension](https://github.com/matrix-org/matrix-spec-proposals/pull/3823). ([#&#8203;17051](https://github.com/element-hq/synapse/issues/17051)) - Declare support for [Matrix v1.10](https://matrix.org/blog/2024/03/22/matrix-v1.10-release/). Contributed by [@&#8203;clokep](https://github.com/clokep). ([#&#8203;17082](https://github.com/element-hq/synapse/issues/17082)) - Add support for [MSC4115: membership metadata on events](https://github.com/matrix-org/matrix-spec-proposals/pull/4115). ([#&#8203;17104](https://github.com/element-hq/synapse/issues/17104), [#&#8203;17137](https://github.com/element-hq/synapse/issues/17137)) ##### Bugfixes - Fixed search feature of Element Android on homesevers using SQLite by returning search terms as search highlights. ([#&#8203;17000](https://github.com/element-hq/synapse/issues/17000)) - Fixes a bug introduced in v1.52.0 where the `destination` query parameter for the [Destination Rooms Admin API](https://element-hq.github.io/synapse/v1.105/usage/administration/admin_api/federation.html#destination-rooms) failed to actually filter returned rooms. ([#&#8203;17077](https://github.com/element-hq/synapse/issues/17077)) - For MSC3266 room summaries, support queries at the recommended endpoint of `/_matrix/client/unstable/im.nheko.summary/summary/{roomIdOrAlias}`. The existing endpoint of `/_matrix/client/unstable/im.nheko.summary/rooms/{roomIdOrAlias}/summary` is deprecated. ([#&#8203;17078](https://github.com/element-hq/synapse/issues/17078)) - Apply user email & picture during OIDC registration if present & selected. ([#&#8203;17120](https://github.com/element-hq/synapse/issues/17120)) - Improve error message for cross signing reset with [MSC3861](https://github.com/matrix-org/matrix-spec-proposals/pull/3861) enabled. ([#&#8203;17121](https://github.com/element-hq/synapse/issues/17121)) - Fix a bug which meant that to-device messages received over federation could be dropped when the server was under load or networking problems caused problems between Synapse processes or the database. ([#&#8203;17127](https://github.com/element-hq/synapse/issues/17127)) - Fix bug where `StreamChangeCache` would not respect configured cache factors. ([#&#8203;17152](https://github.com/element-hq/synapse/issues/17152)) ##### Updates to the Docker image - Correct licensing metadata on Docker image. ([#&#8203;17141](https://github.com/element-hq/synapse/issues/17141)) ##### Improved Documentation - Update the `event_cache_size` and `global_factor` configuration options' documentation. ([#&#8203;17071](https://github.com/element-hq/synapse/issues/17071)) - Remove broken sphinx docs. ([#&#8203;17073](https://github.com/element-hq/synapse/issues/17073), [#&#8203;17148](https://github.com/element-hq/synapse/issues/17148)) - Add RuntimeDirectory to example matrix-synapse.service systemd unit. ([#&#8203;17084](https://github.com/element-hq/synapse/issues/17084)) - Fix various small typos throughout the docs. ([#&#8203;17114](https://github.com/element-hq/synapse/issues/17114)) - Update enable_notifs configuration documentation. ([#&#8203;17116](https://github.com/element-hq/synapse/issues/17116)) - Update the Upgrade Notes with the latest minimum supported Rust version of 1.66.0. Contributed by [@&#8203;jahway603](https://github.com/jahway603). ([#&#8203;17140](https://github.com/element-hq/synapse/issues/17140)) ##### Internal Changes - Enable [MSC3266](https://github.com/matrix-org/matrix-spec-proposals/pull/3266) by default in the Synapse Complement image. ([#&#8203;17105](https://github.com/element-hq/synapse/issues/17105)) - Add optimisation to `StreamChangeCache.get_entities_changed(..)`. ([#&#8203;17130](https://github.com/element-hq/synapse/issues/17130)) ##### Updates to locked dependencies - Bump furo from 2024.1.29 to 2024.4.27. ([#&#8203;17133](https://github.com/element-hq/synapse/issues/17133)) - Bump idna from 3.6 to 3.7. ([#&#8203;17136](https://github.com/element-hq/synapse/issues/17136)) - Bump jsonschema from 4.21.1 to 4.22.0. ([#&#8203;17157](https://github.com/element-hq/synapse/issues/17157)) - Bump lxml from 5.1.0 to 5.2.1. ([#&#8203;17158](https://github.com/element-hq/synapse/issues/17158)) - Bump phonenumbers from 8.13.29 to 8.13.35. ([#&#8203;17106](https://github.com/element-hq/synapse/issues/17106)) <!----> - Bump pillow from 10.2.0 to 10.3.0. ([#&#8203;17146](https://github.com/element-hq/synapse/issues/17146)) <!----> - Bump pydantic from 2.6.4 to 2.7.0. ([#&#8203;17107](https://github.com/element-hq/synapse/issues/17107)) - Bump pydantic from 2.7.0 to 2.7.1. ([#&#8203;17160](https://github.com/element-hq/synapse/issues/17160)) - Bump pyicu from 2.12 to 2.13. ([#&#8203;17109](https://github.com/element-hq/synapse/issues/17109)) - Bump serde from 1.0.197 to 1.0.198. ([#&#8203;17111](https://github.com/element-hq/synapse/issues/17111)) - Bump serde from 1.0.198 to 1.0.199. ([#&#8203;17132](https://github.com/element-hq/synapse/issues/17132)) - Bump serde from 1.0.199 to 1.0.200. ([#&#8203;17161](https://github.com/element-hq/synapse/issues/17161)) - Bump serde_json from 1.0.115 to 1.0.116. ([#&#8203;17112](https://github.com/element-hq/synapse/issues/17112)) <!----> - Update `tornado` Python dependency from 6.2 to 6.4. ([#&#8203;17131](https://github.com/element-hq/synapse/issues/17131)) <!----> - Bump twisted from 23.10.0 to 24.3.0. ([#&#8203;17135](https://github.com/element-hq/synapse/issues/17135)) - Bump types-bleach from 6.1.0.1 to 6.1.0.20240331. ([#&#8203;17110](https://github.com/element-hq/synapse/issues/17110)) - Bump types-pillow from 10.2.0.20240415 to 10.2.0.20240423. ([#&#8203;17159](https://github.com/element-hq/synapse/issues/17159)) - Bump types-setuptools from 69.0.0.20240125 to 69.5.0.20240423. ([#&#8203;17134](https://github.com/element-hq/synapse/issues/17134)) </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:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNTYuMCIsInVwZGF0ZWRJblZlciI6IjM3LjM1Ni4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> Reviewed-on: https://git.csprung.de/carsten/container-server/pulls/43 Co-authored-by: Renovate Bot <renovate@git.csprung.de> Co-committed-by: Renovate Bot <renovate@git.csprung.de>
2024-05-19 14:45:14 +02:00
image: ghcr.io/element-hq/synapse:v1.107.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