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.108.0 (#44) 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.107.0` -> `v1.108.0` | --- ### Release Notes <details> <summary>element-hq/synapse (ghcr.io/element-hq/synapse)</summary> ### [`v1.108.0`](https://github.com/element-hq/synapse/releases/tag/v1.108.0) [Compare Source](https://github.com/element-hq/synapse/compare/v1.107.0...v1.108.0) ### Synapse 1.108.0 (2024-05-28) No significant changes since 1.108.0rc1. ### Synapse 1.108.0rc1 (2024-05-21) ##### Features - Add a feature that allows clients to query the configured federation whitelist. Disabled by default. ([#&#8203;16848](https://github.com/element-hq/synapse/issues/16848), [#&#8203;17199](https://github.com/element-hq/synapse/issues/17199)) - Add the ability to allow numeric user IDs with a specific prefix when in the CAS flow. Contributed by Aurélien Grimpard. ([#&#8203;17098](https://github.com/element-hq/synapse/issues/17098)) ##### Bugfixes - Fix bug where push rules would be empty in `/sync` for some accounts. Introduced in v1.93.0. ([#&#8203;17142](https://github.com/element-hq/synapse/issues/17142)) - Add support for optional whitespace around the Federation API's `Authorization` header's parameter commas. ([#&#8203;17145](https://github.com/element-hq/synapse/issues/17145)) - Fix bug where disabling room publication prevented public rooms being created on workers. ([#&#8203;17177](https://github.com/element-hq/synapse/issues/17177), [#&#8203;17184](https://github.com/element-hq/synapse/issues/17184)) ##### Improved Documentation - Document [`/v1/make_knock`](https://spec.matrix.org/v1.10/server-server-api/#get_matrixfederationv1make_knockroomiduserid) and [`/v1/send_knock/`](https://spec.matrix.org/v1.10/server-server-api/#put_matrixfederationv1send_knockroomideventid) federation endpoints as worker-compatible. ([#&#8203;17058](https://github.com/element-hq/synapse/issues/17058)) - Update User Admin API with note about prefixing OIDC external_id providers. ([#&#8203;17139](https://github.com/element-hq/synapse/issues/17139)) - Clarify the state of the created room when using the `autocreate_auto_join_room_preset` config option. ([#&#8203;17150](https://github.com/element-hq/synapse/issues/17150)) - Update the Admin FAQ with the current libjemalloc version for latest Debian stable. Additionally update the name of the "push_rules" stream in the Workers documentation. ([#&#8203;17171](https://github.com/element-hq/synapse/issues/17171)) ##### Internal Changes - Add note to reflect that [MSC3886](https://github.com/matrix-org/matrix-spec-proposals/pull/3886) is closed but will remain supported for some time. ([#&#8203;17151](https://github.com/element-hq/synapse/issues/17151)) - Update dependency PyO3 to 0.21. ([#&#8203;17162](https://github.com/element-hq/synapse/issues/17162)) - Fixes linter errors found in PR [#&#8203;17147](https://github.com/element-hq/synapse/issues/17147). ([#&#8203;17166](https://github.com/element-hq/synapse/issues/17166)) - Bump black from 24.2.0 to 24.4.2. ([#&#8203;17170](https://github.com/element-hq/synapse/issues/17170)) - Cache literal sync filter validation for performance. ([#&#8203;17186](https://github.com/element-hq/synapse/issues/17186)) - Improve performance by fixing a reactor pause. ([#&#8203;17192](https://github.com/element-hq/synapse/issues/17192)) - Route `/make_knock` and `/send_knock` federation APIs to the federation reader worker in Complement test runs. ([#&#8203;17195](https://github.com/element-hq/synapse/issues/17195)) - Prepare sync handler to be able to return different sync responses (`SyncVersion`). ([#&#8203;17200](https://github.com/element-hq/synapse/issues/17200)) - Organize the sync cache key parameter outside of the sync config (separate concerns). ([#&#8203;17201](https://github.com/element-hq/synapse/issues/17201)) - Refactor `SyncResultBuilder` assembly to its own function. ([#&#8203;17202](https://github.com/element-hq/synapse/issues/17202)) - Rename to be obvious: `joined_rooms` -> `joined_room_ids`. ([#&#8203;17203](https://github.com/element-hq/synapse/issues/17203), [#&#8203;17208](https://github.com/element-hq/synapse/issues/17208)) - Add a short pause when rate-limiting a request. ([#&#8203;17210](https://github.com/element-hq/synapse/issues/17210)) ##### Updates to locked dependencies - Bump cryptography from 42.0.5 to 42.0.7. ([#&#8203;17180](https://github.com/element-hq/synapse/issues/17180)) - Bump gitpython from 3.1.41 to 3.1.43. ([#&#8203;17181](https://github.com/element-hq/synapse/issues/17181)) - Bump immutabledict from 4.1.0 to 4.2.0. ([#&#8203;17179](https://github.com/element-hq/synapse/issues/17179)) - Bump sentry-sdk from 1.40.3 to 2.1.1. ([#&#8203;17178](https://github.com/element-hq/synapse/issues/17178)) - Bump serde from 1.0.200 to 1.0.201. ([#&#8203;17183](https://github.com/element-hq/synapse/issues/17183)) - Bump serde_json from 1.0.116 to 1.0.117. ([#&#8203;17182](https://github.com/element-hq/synapse/issues/17182)) </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:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNzcuNSIsInVwZGF0ZWRJblZlciI6IjM3LjM3Ny41IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> Reviewed-on: https://git.csprung.de/carsten/container-server/pulls/44 Co-authored-by: Renovate Bot <renovate@git.csprung.de> Co-committed-by: Renovate Bot <renovate@git.csprung.de>
2024-06-13 14:47:49 +02:00
image: ghcr.io/element-hq/synapse:v1.108.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