Commit Graph
100 Commits
Author SHA1 Message Date
Slavi Pantaleev d3913a015e Upgrade LiveKit Server (v1.8.4-0 -> v1.8.4-1) 2025-03-14 20:04:18 +02:00
Slavi Pantaleev ac7f96806d Relocate the livekit-server Ansible role to its own repository in the MASH organization 2025-03-14 19:58:09 +02:00
Slavi Pantaleev b8d800f6ef Add "Federation" as a prerequisite for Element Call (indirect, via LiveKit JWT Service)
Ref:
- https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/3562#issuecomment-2725250554
- https://github.com/element-hq/lk-jwt-service/blob/f5f5374c4bdcc00a4fb13d27c0b28e20e4c62334/main.go#L135-L146
2025-03-14 19:37:29 +02:00
Slavi Pantaleev 2c1c49444a Merge branch 'master' into element-call-integration 2025-03-14 19:32:48 +02:00
Slavi Pantaleev 8e883a5554 Fail if Synapse experimental feature QR code login (MSC4108) is enabled while Next-Gen Auth (MSC3861) is not 2025-03-14 19:06:37 +02:00
Slavi Pantaleev 6bc0185d50 Add Element Call, LiveKit Server and LiveKit JWT Service to README.md
Ref: https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/3562#issuecomment-2720039742
2025-03-13 09:43:22 +02:00
Slavi Pantaleev a0470fe248 Minor rewording in LiveKit Server docs 2025-03-12 19:12:30 +02:00
Slavi Pantaleev d4ceebc6a9 Add Element Call, LiveKit Server and LiveKit JWT Service to docs/container-images.md 2025-03-12 19:12:22 +02:00
6a86de958f Apply suggestions from code review
Co-authored-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
2025-03-12 19:05:51 +02:00
Slavi Pantaleev d9df022d55 Merge branch 'master' into element-call-integration 2025-03-12 18:40:31 +02:00
Slavi Pantaleev 2f30886b19 Rework license information adding for $instagram_role_path/README.md to fix reuse lint 2025-03-12 18:40:23 +02:00
Slavi Pantaleev 60bc3a9a7b Ensure container labels file is empty if nothing is exposed for mautrix-meta bridges
Without this, we get a warning message from Traefik:

> INF Could not create a router for the container: too many services providerName=docker

Possibly due to the multiple services defined there without a single
explicitly-defined router.
2025-03-12 18:35:13 +02:00
Slavi Pantaleev c9b2f2c995 Adjust bin/rebuild-mautrix-meta-instagram.sh script to add license headers and rebuild matrix-bridge-mautrix-meta-instagram with it 2025-03-12 18:34:24 +02:00
Slavi Pantaleev 676f9dd9ad Merge branch 'master' into element-call-integration 2025-03-12 18:00:45 +02:00
Slavi Pantaleev 2be709e2ce Adjust some _registry_prefix_upstream variables in group_vars/matrix_servers to make them respect matrix_container_global_registry_prefix_override
Follow-up to 3492d31dca
2025-03-12 18:00:28 +02:00
Slavi Pantaleev 3492d31dca Rename some leftover _name_prefix variables (to _registry_prefix) 2025-03-12 17:57:10 +02:00
Slavi Pantaleev 5287b8ddeb Fix use of undefined variable matrix_authentication_service_container_image_name_prefix 2025-03-12 17:51:19 +02:00
Slavi Pantaleev 251561ff81 Simplify LiveKit Server role by removing unused/untested HTTP middleware variables 2025-03-12 17:47:01 +02:00
Slavi Pantaleev 1e60f41a59 Restore Element Call HTTP headers to more secure/privacy-respecting values 2025-03-12 17:44:00 +02:00
Slavi Pantaleev f8e84c4b2f Remove useless matrix_element_call_port variable 2025-03-12 17:43:34 +02:00
Slavi Pantaleev 3f5e8f656b Switch default LiveKit server endpoint to one under the matrix. domain and polish-up docs 2025-03-12 17:35:30 +02:00
Slavi Pantaleev 72118f2f03 Fix LiveKitServer middlware name (matrix-livekit-server-server-slashless-redirect -> matrix-livekit-server-slashless-redirect) 2025-03-12 16:56:06 +02:00
Slavi Pantaleev 585377975b Adjust LiveKit Server ports and exposure 2025-03-12 16:51:10 +02:00
Slavi Pantaleev 22ef579444 Make livekit-jwt-service communicate with livekit-server via public URLs
Communicating via container URLs works, but the URL provided to
livekit-jwt-service as `LIVEKIT_URL` is also passed to the user later
and it must be a public one at that point.

It'd be great if livekit-jwt-service can be given 2 different URLs
(e.g. `LIVEKIT_URL` and `LIVEKIT_URL_PUBLIC`) and only announce the
public one to the user, but there's no support for this yet.
2025-03-12 15:44:31 +02:00
Slavi Pantaleev 32f8c6de6e Merge branch 'master' into element-call-integration 2025-03-12 15:27:42 +02:00
Slavi Pantaleev 370feb740f Merge branch 'master' into element-call-integration 2025-03-12 10:04:19 +02:00
Slavi Pantaleev a9ee537f83 Only point matrix_synapse_report_stats_endpoint to matrix-synapse-usage-exporter if it's enabled
Fixup related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/3442
2025-03-12 10:04:06 +02:00
Slavi Pantaleev 9a11e5e1fe Auto-enable experimental Synapse features required by Element Call when Element Call is enabled 2025-03-12 09:19:03 +02:00
Slavi Pantaleev 8291b2f99d Merge branch 'master' into element-call-integration 2025-03-12 09:14:50 +02:00
Slavi Pantaleev c5a03efdf6 Increase default Synapse/rc_message rate limits
The new rate limits are more suitable for running Element Call.

Ref:

- https://github.com/element-hq/element-call/blob/93ae2aed9841e0b066d515c56bd4c122d2b591b2/docs/self-hosting.md#a-matrix-homeserver
- https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/3562

Instead of trying to increase them conditionally only when Element Call
is enabled, it's simpler and good-enough to just increase them in all cases.
2025-03-12 09:13:43 +02:00
Slavi Pantaleev 63f81bf268 Add support for configuring Synapse's MSC4222 (adding state_after to sync v2) experimental feature
This is required by Element Call.

Ref:

- https://github.com/element-hq/element-call/blob/93ae2aed9841e0b066d515c56bd4c122d2b591b2/docs/self-hosting.md#a-matrix-homeserver
- https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/3562
2025-03-12 09:12:39 +02:00
Slavi Pantaleev f5a0be0a7b Add support for configuring Synapse's MSC4140 (Delayed Events) experimental feature
This is required by Element Call.

Ref:

- https://github.com/element-hq/element-call/blob/93ae2aed9841e0b066d515c56bd4c122d2b591b2/docs/self-hosting.md#a-matrix-homeserver
- https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/3562
2025-03-12 09:10:35 +02:00
Slavi Pantaleev 4fb0b75942 Reorder Synapse config's experimental_features alphabetically 2025-03-12 09:05:59 +02:00
Slavi Pantaleev 890f10f765 Make matrix_livekit_jwt_service_public_url respect matrix_livekit_jwt_service_path_prefix 2025-03-12 09:01:35 +02:00
Slavi Pantaleev 031cf68cbb Remove unused matrix_element_call_metrics_* variables 2025-03-12 08:59:50 +02:00
Slavi Pantaleev 5961841e52 Make matrix-livekit-jwt-service role not reference foreign variables (except the matrix-base ones) 2025-03-12 08:59:05 +02:00
Slavi Pantaleev 2be4923aef Make Element Call role not reference foreign variables (except the matrix-base ones) 2025-03-12 08:56:15 +02:00
Slavi Pantaleev 23efad9cb7 Rework Element Call config.json templating 2025-03-12 08:51:52 +02:00
Slavi Pantaleev 6b55ba29ab Make Element Call refuse a path prefix other than / 2025-03-12 08:46:11 +02:00
Slavi Pantaleev 0d1112638d Update LiveKit JWT service path prefix (/lk-jwt-service -> /livekit-jwt-service) 2025-03-12 08:07:56 +02:00
Slavi Pantaleev c3c2ba34b4 Split matrix_element_call_systemd_required_services_list into _default, _auto and _custom 2025-03-12 08:02:29 +02:00
Slavi Pantaleev 0215708f79 Remove some useless variables and rework environment variables variable for livekit-jwt-service 2025-03-12 08:00:28 +02:00
Slavi Pantaleev e1b57f3d45 Pin livekit-jwt-service to released (v0.2.0) and adapt configuration 2025-03-12 07:56:47 +02:00
Slavi Pantaleev de2a8f11d2 _name_prefix -> _registry_prefix changes for LiveKit roles 2025-03-12 07:47:07 +02:00
Slavi Pantaleev 2a69ca35be Clean up Element Call group vars vs defaults/main.yml mixup and make some minor LiveKit updates 2025-03-12 07:42:40 +02:00
Slavi Pantaleev 72d64cfa6b Merge branch 'master' into element-call-integration 2025-03-12 07:03:53 +02:00
Slavi Pantaleev 5dfbefd649 Fix comment indentation in examples/reverse-proxies/caddy2-in-container/docker-compose.yaml 2025-03-12 07:03:47 +02:00
Slavi Pantaleev f161c7c58f Add newlines at end of files 2025-03-12 07:03:00 +02:00
Slavi Pantaleev 6c6b44dc25 Add license information to Element Call and LiveKit roles 2025-03-12 06:58:00 +02:00
Slavi Pantaleev 8eb1c57e2b Merge branch 'master' into element-call-integration 2025-03-12 06:36:48 +02:00
Slavi Pantaleev aa36acdef1 Remove useless matrix_static_files_client_redirect_root_uri_to_domain variable definition 2025-03-12 06:36:24 +02:00
Slavi Pantaleev 61069d6313 Merge branch 'element-call-integration' of github.com:wjbeckett/matrix-docker-ansible-deploy into element-call-integration 2025-03-12 06:34:00 +02:00
Slavi Pantaleev 74d6a99b1e Adjust names for Element Call tasks and make uninstallation more consistent with other roles 2025-03-12 06:32:22 +02:00
Slavi Pantaleev 81a30f17ac Remove some superficial comments 2025-03-12 06:29:39 +02:00
Slavi Pantaleev 413d591562 Bring container-network-creation tasks up-to-date for Element Call and LiveKit-related services 2025-03-12 06:27:11 +02:00
Slavi Pantaleev 7572522820 Merge branch 'master' into element-call-integration 2025-03-12 06:24:34 +02:00
Slavi Pantaleev 40732e3594 Upgrade Element Web (v1.11.94 -> v1.11.95) and patch healthcheck
Related to:

- https://github.com/element-hq/element-web/pull/29471
- 16f9e7dd46
2025-03-11 22:34:59 +02:00
Slavi Pantaleev a5d850d800 Add matrix_client_element_environment_variable_element_web_port and matrix_client_element_environment_variables_extension variables 2025-03-11 22:34:59 +02:00
Slavi Pantaleev e65d198841 Run Element Web in tightened/read-only mode without a custom nginx config
Newer Element Web versions allow for the nginx port to be
overriden, etc., and provide instructions for running in read-only mode.

This makes our custom `nginx.conf` patches unnecessary.

Passing the correct `ELEMENT_WEB_PORT` environment variable
also helps with future changes.

Another benefit of this (besides keeping closer to upstream
recommendations and the improved simplicity) is that:

- the container can run its entrypoint env-substitutions code now,
  without reporting errors

- IPv6 for nginx works, so `matrix-client-element:8080` is accessible
  via IPv6 on the container network now
  (this affects only for Traefik's communicaton with Element Web
  internally; public connectivity was handled by Traefik and IPv6 was
  available there even before)

Ref:

- https://github.com/element-hq/element-web/blob/2052080d7d8a213064910cac491ec5cf9057610e/docs/install.md#docker
- https://github.com/element-hq/element-web/pull/28849
- https://github.com/element-hq/element-web/pull/28840
2025-03-11 22:32:35 +02:00
Slavi Pantaleev 16f9e7dd46 Revert "Upgrade Element Web (v1.11.94 -> v1.11.95)"
This reverts commit 178f7a9fff.

Element v1.11.95 doesn't seem to work. The container starts and is
unhealthy.

Until this is investigated and fixed, reverting.
2025-03-11 19:26:00 +02:00
Slavi Pantaleev bda63024ee Upgrade Synapse (v1.125.0 -> v1.126.0) 2025-03-11 19:14:37 +02:00
Slavi Pantaleev 178f7a9fff Upgrade Element Web (v1.11.94 -> v1.11.95) 2025-03-11 19:14:08 +02:00
Slavi Pantaleev 1313f1e414 Make base domain root path redirect also handle URLs with query strings (passing them along)
Previously `https://example.com` and `https://example.com/` would be
redirected to `https://matrix.example.com`.

However, `https://example.com/?something` was not handled and was tried
to be served as a file by matrix-static-files for this base domain.

From now on, paths containing query strings will be handled as well
and the query string will be passed along.
Example: `https://example.com/?something` -> `https://matrix.example.com/?something`
2025-03-11 19:07:33 +02:00
Slavi Pantaleev 7e24667fc7 Upgrade traefik-certs-dumper (v2.8.3-7 -> v2.10.0-0) 2025-03-10 07:14:50 +02:00
Slavi Pantaleev 82c5afd214 Upgrade ntfy (v2.11.0-3 -> v2.11.0-4) 2025-03-10 07:08:49 +02:00
Slavi Pantaleev 35dd8e46cd Adjust /etc/docker/daemon.json cleanup comment with link to ansible-role-docker PR 2025-03-09 16:22:46 +02:00
Slavi Pantaleev 6d6fd4bf85 Add license information to roles/custom/matrix_playbook_migration/tasks/docker_daemon_options_file_cleanup.yml 2025-03-09 16:07:01 +02:00
Slavi Pantaleev e33ed912cb Reorder matrix_playbook_docker_installation_daemon_options* variables a bit 2025-03-09 16:04:18 +02:00
Slavi Pantaleev bd073bca74 Remove /etc/docker/daemon.json when no Docker options are set anymore 2025-03-09 16:03:15 +02:00
Slavi PantaleevandGitHub 5aa8bf9c3d Merge pull request #4157 from spantaleev/renovate/setuptools-75.x
Update dependency setuptools to v75.9.1
2025-03-09 07:22:34 +02:00
Slavi PantaleevandGitHub 281da3eab4 Merge pull request #4156 from spantaleev/renovate/setuptools-75.x
Update dependency setuptools to v75.9.0
2025-03-09 07:18:35 +02:00
Slavi Pantaleev ce90df519e docs/configuring-playbook-ipv6.md -> docs/configuring-ipv6.md 2025-03-08 15:42:50 +02:00
Slavi PantaleevandGitHub d92a091523 Merge pull request #4155 from luixxiul/fix
Update docs/configuring-playbook-email.md: copy from the ansible-role…
2025-03-08 15:30:52 +02:00
Slavi Pantaleev ffa1ff67eb Recommend IPv6 enablement by default to all users
Follow-up to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/3218
2025-03-08 15:22:13 +02:00
Slavi Pantaleev c90e40b24d Upgrade exim-relay (v4.98.1-r0-1-0 -> v4.98.1-r0-2-0) 2025-03-08 07:36:55 +02:00
Slavi PantaleevandGitHub a1ee35e8ea Merge pull request #4154 from Iruwen/feature/experimental-msc3266
Enable room summary API (MSC3266) support for Synapse
2025-03-06 17:47:24 +02:00
Slavi PantaleevandGitHub f6ba56e15d Merge pull request #4151 from spantaleev/renovate/jinja2-3.x
Update dependency Jinja2 to v3.1.6
2025-03-06 07:07:36 +02:00
Slavi PantaleevandGitHub 247ef546ba Merge pull request #4152 from spantaleev/dependabot/pip/i18n/jinja2-3.1.6
Bump jinja2 from 3.1.5 to 3.1.6 in /i18n
2025-03-06 07:05:18 +02:00
Slavi Pantaleev 1c68fd0d9b Make matrix-synapse-reverse-proxy-companion not report "502 Bad Gateway" when Synapse workers restart
Since nginx 1.27.3, we can make use of the `resolve` parameter for an `upstream`'s `server`,
to allow DNS resolution to happen continuously at runtime, not just once during startup.

Previously, this was not possible to do in an `upstream` block without
an nginx-plus subscription. Outside of an `upstream` block, we've used
and still use `set $backend ..` workarounds to get DNS resolution at
runtime, but now we can do it in `upstream` as well.
2025-03-05 21:24:43 +02:00
Slavi PantaleevandGitHub db993c5bb3 Merge pull request #4150 from luixxiul/fix
Update docs/configuring-playbook-s3.md: add links to Storj and edit t…
2025-03-05 20:58:29 +02:00
Slavi PantaleevandGitHub c63660ede2 Merge pull request #4149 from luixxiul/fix
Add REUSE compliant badge on README.md
2025-03-05 09:40:29 +02:00
Slavi PantaleevandGitHub 7944036343 Merge pull request #4148 from spantaleev/renovate/docker.io-metio-matrix-alertmanager-receiver-2025.x
Update docker.io/metio/matrix-alertmanager-receiver Docker tag to v2025.3.5
2025-03-05 08:31:43 +02:00
Slavi PantaleevandGitHub a103fa63a9 Merge pull request #4147 from spantaleev/renovate/ajbura-cinny-4.x
Update ajbura/cinny Docker tag to v4.5.1
2025-03-05 08:31:33 +02:00
Slavi PantaleevandGitHub b391a96e78 Merge pull request #4146 from luixxiul/patch-2
Update validate_config.yml files
2025-03-05 08:30:34 +02:00
Slavi PantaleevandGitHub bf0918ae58 Merge branch 'master' into patch-2 2025-03-05 08:29:35 +02:00
Slavi PantaleevandGitHub a2bc87a585 Merge pull request #4145 from luixxiul/fix
Add license information to the rest of the files to make the project REUSE compliant
2025-03-05 08:27:49 +02:00
Slavi PantaleevandGitHub 9c21067cd5 Merge pull request #4144 from luixxiul/patch-3
Update docs/configuring-playbook.md: update the instruction to use git
2025-03-05 08:27:26 +02:00
Slavi PantaleevandGitHub 374d19c4d4 Merge pull request #4143 from luixxiul/fix
Add license information to various files
2025-03-04 20:33:27 +02:00
Slavi PantaleevandGitHub dc77f84e66 Merge pull request #4142 from luixxiul/fix
Update docs for S3 media storage configuration for Synapse
2025-03-04 17:00:14 +02:00
Slavi PantaleevandGitHub 5adaaf7c80 Merge pull request #4141 from spantaleev/renovate/ajbura-cinny-4.x
Update ajbura/cinny Docker tag to v4.5.0
2025-03-04 13:39:09 +02:00
Slavi PantaleevandGitHub 35d38b28bf Merge pull request #4140 from luixxiul/fix
Add license information to files for matrix-synapse
2025-03-04 12:44:11 +02:00
Slavi PantaleevandGitHub 0e598acc3c Merge pull request #4139 from spantaleev/renovate/gnuxie-draupnir-2.x
Update gnuxie/draupnir Docker tag to v2.2.0
2025-03-03 22:39:19 +02:00
Slavi Pantaleev 2ef1a2e48d Upgrade exim-relay (v4.98.1-r0-0-0 -> v4.98.1-r0-1-0) to allow usage over IPv6 2025-03-03 22:33:15 +02:00
Slavi PantaleevandGitHub 50c63edb61 Merge pull request #4138 from luixxiul/fix
Add license information to files for components
2025-03-03 13:44:39 +02:00
Slavi PantaleevandGitHub 81b752e56c Merge pull request #4137 from luixxiul/fix
Add license information to files for components and files on the top-level directory
2025-03-03 08:14:03 +02:00
Slavi PantaleevandGitHub c113f8fbd8 Merge pull request #4136 from spantaleev/renovate/sphinx-8.x
Update dependency Sphinx to v8.2.3
2025-03-03 08:13:10 +02:00
Slavi PantaleevandGitHub fa1b99476c Merge pull request #4135 from luixxiul/fix
Add license information to files for components related to Synapse
2025-03-02 19:25:50 +02:00
Slavi PantaleevandGitHub 4b2c4d0df5 Merge pull request #4132 from luixxiul/fix
Add license information to files in reverse-proxies directory and ones related to project management and administration
2025-03-02 10:30:46 +02:00
Slavi PantaleevandGitHub 5694831507 Merge pull request #4133 from luixxiul/patch-2
Add mautrix-bluesky to a table on docs/container-images.md
2025-03-02 10:23:48 +02:00
Slavi PantaleevandGitHub 0b23167773 Merge pull request #4131 from luixxiul/fix
Add license information to files for the other mautrix bridges
2025-03-01 16:44:10 +02:00