Slavi Pantaleev and GitHub
f08fbbe103
Merge pull request #3135 from spantaleev/renovate/matrixdotorg-dendrite-monolith-0.x
...
Update matrixdotorg/dendrite-monolith Docker tag to v0.13.6
2024-01-26 16:06:45 +02:00
Slavi Pantaleev
1468c08065
Wire matrix_server_fqn_matrix_federation to matrix_SERVICE_*_public_federation_api_traefik_hostname for ease of use
2024-01-26 16:04:55 +02:00
Slavi Pantaleev
a9eba7ab32
Fix turn: fallback URIs missing due to Jinja operator priorities
2024-01-26 13:07:09 +02:00
Slavi Pantaleev
a1179289a1
Split some homeserver _additional_networks variables into _auto and _custom
2024-01-26 12:55:01 +02:00
Slavi Pantaleev
dafeee92f4
Adjust matrix_nginx_proxy_container_labels_traefik_proxy_matrix_federation_hostname validation check message to mention matrix_static_files_file_matrix_server_property_m_server
2024-01-26 12:17:49 +02:00
Slavi Pantaleev
b48b06d2f8
Add missing bracket
2024-01-26 12:10:34 +02:00
Slavi Pantaleev
5ca4d6ebc5
Add validation check for matrix_nginx_proxy_container_labels_traefik_proxy_matrix_federation_hostname
2024-01-26 12:09:54 +02:00
Slavi Pantaleev
185f54a4c7
Upgrade Prometheus (v2.49.1-0 -> v2.49.1-1)
2024-01-26 08:55:53 +02:00
Slavi Pantaleev and GitHub
bc7ed6bd38
Merge pull request #3131 from Michael-Hollister/michael/synapse-add-extra-arguments
...
Added extra systemd service arguments to synapse workers and proxy companion
2024-01-25 07:46:50 +02:00
Slavi Pantaleev and GitHub
ad9ba1e2bd
Fix variable name typo
2024-01-25 07:39:25 +02:00
Slavi Pantaleev
243d828e50
Fix mautrix-discord config Jinja2 syntax error
...
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/3133
Regression since 4ed522e8fe
2024-01-25 07:35:16 +02:00
Slavi Pantaleev and GitHub
b0b0f9e673
Merge pull request #3133 from needo37/patch-1
...
Bring default config inline with upstream
2024-01-25 07:28:00 +02:00
Slavi Pantaleev and GitHub
cb3eb2d1c4
Merge pull request #3130 from jalemann/master
...
add missing ' in config
2024-01-24 20:43:42 +02:00
Slavi Pantaleev and GitHub
954e568866
Merge pull request #3128 from FSG-Cat/Draupnir-Mjolnir-Explicit-Config-Declare
...
Resolve #2296 by Explicitly telling Draupnir and Mjolnir where to find their configs.
2024-01-24 16:48:53 +02:00
Slavi Pantaleev
9dd33263e0
Upgrade Grafana (v10.2.3-0 -> v10.3.1-0)
2024-01-23 20:05:58 +02:00
Slavi Pantaleev
82faab928f
Upgrade prometheus-postgres-exporter (v0.14.0-3 -> v0.14.0-4)
...
The new version drops support for the legacy basic auth method
(`prometheus_postgres_exporter_basicauth_*` variables).
2024-01-23 17:55:45 +02:00
Slavi Pantaleev
6ee7fbceae
Upgrade prometheus-node-exporter (v1.7.0-2 -> v1.7.0-3)
...
The new version drops support for the legacy basic auth method
(`prometheus_node_exporter_basicauth_*` variables).
2024-01-23 17:19:24 +02:00
Slavi Pantaleev
07a77cb4d3
Auto-enable metrics for services when matrix_metrics_exposure_enabled, even when not hosting Prometheus
...
Previously, we only enabled metrics when the playbook was installing
Prometheus (as indicated by `prometheus_enabled`).
We are exposing metrics when `matrix_metrics_exposure_enabled` is
toggled to `true` though, but people need to toggle various
`_metrics_enabled` variables to make services actually serve metrics.
No more. If `matrix_metrics_exposure_enabled` is `true`, we'll
automatically enable metrics for all services.
2024-01-23 16:43:23 +02:00
Slavi Pantaleev
01b9a09863
Intentionally start Coturn after the homeserver when devture_systemd_service_manager_service_restart_mode is 'one-by-one'
2024-01-23 15:55:31 +02:00
Slavi Pantaleev
35d22fdba3
Upgrade playbook_help
...
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/2448
2024-01-23 15:55:31 +02:00
Slavi Pantaleev and GitHub
3a0eeed680
Merge pull request #3124 from mcnesium/patch-1
...
fix setting root path because the script moved one level up in 2f457b2a
2024-01-23 12:17:21 +02:00
Slavi Pantaleev and GitHub
d895518c1e
Merge pull request #3121 from spantaleev/renovate/joseluisq-static-web-server-2.x
...
chore(deps): update joseluisq/static-web-server docker tag to v2.25.0
2024-01-23 06:26:33 +02:00
Slavi Pantaleev
ecb5591743
Upgrade sliding-sync (v0.99.14 -> v0.99.15)
2024-01-22 14:36:05 +02:00
Slavi Pantaleev and GitHub
17c9c8a6de
Merge pull request #3118 from SirHazza/npm-documentation
...
Updated nginx proxy fronting with NPM guide
2024-01-20 16:14:22 +02:00
Slavi Pantaleev and GitHub
60a01622cf
Minor improvements to the nginx-proxy-manager docs
2024-01-20 16:09:14 +02:00
Slavi Pantaleev
5c66485c99
Ensure matrix-bot-mjolnir container network is created
...
Most addons live in the same network by default (matrix-addons) right now,
so this network would have usually been created by some other addon.
Howevre, if this is the only addon someone uses, it may have remained
uncreated causing a problem.
2024-01-20 15:42:12 +02:00
Slavi Pantaleev and GitHub
1421355349
Merge pull request #3119 from Braindot-fr/update-telegram-config
...
Mautrix-Telegram bridge config update
2024-01-20 15:31:09 +02:00
Slavi Pantaleev
9a7cb0f716
Fix broken link in changelog entry
2024-01-20 12:45:10 +02:00
Slavi Pantaleev
24394d3ec4
Announce support for specialized Synapse workers
...
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/3100
2024-01-20 12:43:30 +02:00
Slavi Pantaleev
9fb2d53b54
Rework Synapse workers documentation
...
Related to: https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/3100
2024-01-20 12:41:21 +02:00
Slavi Pantaleev
84446e52e9
Rename Synapse worker preset name (room-workers -> specialized-workers)
...
I believe `specialized-workers` is a better name than `room-workers`,
because when enabled, 4 different types of specialized workers are
created:
- Room workers
- Sync workers
- Client readers
- Federation readers
Only one of these is called room-workers.
In the future, more specialized workers may be added, making the
`room-workers` preset name an even poorer choice.
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/3100
2024-01-20 12:40:55 +02:00
Slavi Pantaleev
7cb33da46a
Add some clarification comment in matrix-synapse-reverse-proxy-companion/defaults/main.yml
2024-01-20 11:35:20 +02:00
Slavi Pantaleev
16ca50c6ef
Add a few more comments in matrix-synapse-reverse-proxy-companion.conf.j2
...
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/3100
2024-01-20 11:24:59 +02:00
Slavi Pantaleev
3c7f896246
Prevent generic workers being combined with any of the other types
...
Until now, the validation check would only get tripped up
if generic workers are used, combined with at least one EACH
other type of specialized workers.
This means that someone doing this:
```
matrix_synapse_workers_preset: one-of-each
matrix_synapse_workers_client_reader_workers_count: 5
```
.. would not have triggered this safety check.
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/3100
2024-01-20 11:24:32 +02:00
Slavi Pantaleev and GitHub
535c77da6a
Merge pull request #3100 from cvwright/cvwright/room-workers-v2
...
Room workers
2024-01-20 10:37:28 +02:00
Slavi Pantaleev and GitHub
826f757fbb
Merge branch 'master' into cvwright/room-workers-v2
2024-01-20 10:35:56 +02:00
Slavi Pantaleev and GitHub
8f06e2bf05
Merge pull request #3117 from spantaleev/renovate/vectorim-element-web-1.x
...
Update vectorim/element-web Docker tag to v1.11.55
2024-01-19 17:32:18 +02:00
Slavi Pantaleev
90332f8c3d
Fix problematic Hookshot redirect for /hookshot/widgetapi/v1/static
...
Hookshot wants a trailing slash for this route.
If we let Hookshot redirect, it goes to `/widgetapi/v1/static/`,
instead of `/hookshot/widgetapi/v1/static/`, so we take this matter into our
own hands.
2024-01-19 17:08:14 +02:00
Slavi Pantaleev
f953dd2cd6
Only strip /hookshot prefix for Hookshot widgetapi
...
Public URLs are like: `/hookshot/widgetapi/v1/static/`
.. which get translated to requests for: `/widgetapi/v1/static/`
Previously, we were stripping the whole `/hookshot/widgetapi` prefix,
which is wrong.
2024-01-19 17:02:16 +02:00
Slavi Pantaleev
db7ed0e830
Fix Traefik load balancer port for matrix-mx-puppet-slack
2024-01-19 12:13:22 +02:00
Slavi Pantaleev
dbebe7c598
Add variable for controlling force_disable in io.element.e2ee in /.well-known/matrix/client
2024-01-19 08:19:28 +02:00
Slavi Pantaleev
0ec62855bb
Avoid configuring SSL certificate settings for services when certs dumper is disabled
...
Some of these variables were ending up configuring services to expect
certificates.. yet there's no way they could get them.
2024-01-18 15:27:34 +02:00
Slavi Pantaleev and GitHub
060c57c530
Merge pull request #3115 from mcnesium/patch-1
...
fix ProxyPass directive by adding mandatory trailing slash
2024-01-18 12:20:40 +02:00
Slavi Pantaleev
aed641e694
Disable addons communicating with the homeserver via Traefik if there is no Traefik at all
2024-01-18 12:12:41 +02:00
Slavi Pantaleev
775000883a
Fix Jinja issue related to Synapse workers keepalive templating
...
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/3114
2024-01-18 11:31:59 +02:00
Slavi Pantaleev
ce883a5fce
Upgrade Postgres (v16.1-4 -> v16.1-5)
2024-01-17 19:18:01 +02:00
Slavi Pantaleev
51df34e7ae
Ensure each container labels file defines at least one service
...
Most of these files were defining a service, usually toward the end.
These lines have been moved upward.
Some components (mautrix-signal, mautrix-gmessages, etc.) were defining
a service conditionally (only if metrics are exposed, etc). This was
causing issues like these in the Traefik logs:
> level=error msg="service \"matrix-mautrix-twitter\" error: port is missing" providerName=docker container=matrix-mautrix-twitter-..
2024-01-17 17:56:45 +02:00
Slavi Pantaleev
474db10238
Reorder Ansible task module parameters to make ansible-lint happy
2024-01-17 17:27:31 +02:00
Slavi Pantaleev
f9e19e9623
Always uninstall matrix-nginx-proxy, if discovered
...
This changes the behavior of
`matrix_playbook_migration_matrix_nginx_proxy_uninstallation_enabled`
and is against what we initially described in the changelog entry,
but I've discovered some problems when the `matrix-nginx-proxy` service
and container remain running. They need to go.
2024-01-17 17:22:08 +02:00
Slavi Pantaleev
28a26dde4e
Make it safer to reference variables from alternative homeserver implementations
...
This allows people to not include the `matrix-conduit` or
`matrix-dendrite` roles in their custom playbook (based on our roles)
and still not have the playbook choke on variables from these roles
missing.
For getting rid of the `matrix-synapse` role in a similar way,
more work is likely necessary.
2024-01-17 16:57:06 +02:00
Slavi Pantaleev
042c74f90c
Remove some useless oidc variables and /_synapse/oidc route handling
...
After some checking, it seems like there's `/_synapse/client/oidc`,
but no such thing as `/_synapse/oidc`.
I'm not sure why we've been reverse-proxying these paths for so long
(even in as far back as the `matrix-nginx-proxy` days), but it's time we
put a stop to it.
The OIDC docs have been simplified. There's no need to ask people to
expose the useless `/_synapse/oidc` endpoint. OIDC requires
`/_synapse/client/oidc` and `/_synapse/client` is exposed by default
already.
2024-01-17 14:45:19 +02:00
Slavi Pantaleev
f3a9a2b35e
Make post-start delay for matrix-conduit configurable
2024-01-17 12:26:28 +02:00
Slavi Pantaleev
4407403ab7
Make post-start delay for matrix-dendrite configurable
2024-01-17 12:25:31 +02:00
Slavi Pantaleev
cd06e04497
Make post-start delay for matrix-synapse configurable
2024-01-17 12:25:22 +02:00
Slavi Pantaleev
3ba0642bcf
Increase delay after starting of matrix-synapse
...
10 seconds is a better default for slower (or overloaded) servers
2024-01-17 12:21:19 +02:00
Slavi Pantaleev
0bf8aec8f3
Adjust service priorities to better reflect our new dependencies
...
Traefik also serves an internal entrypoint that all addon services
(bridges, bots, etc.) depend on, so it makes sense to have it be
available early on. It is injected as a systemd `required` dependency
for all services, so it would have been pulled earlier anyway (despite
the priority). Nevertheless, it's better to make the playbook-defined
priotities for services match, so that services are explicitly asked to
start in a more correct order.
With these changes in place now, all "start service" tasks executed by
Ansible cause a "change", indicating that all these services are started
in the correct order and none of them is unintentionally started as a
dependency for another.
2024-01-17 11:52:46 +02:00
Slavi Pantaleev
f9ea76f034
Upgrade systemd_service_manager (v1.0.0-3 -> v1.0.0-4)
2024-01-17 11:51:53 +02:00
Slavi Pantaleev
94378a7729
Make use of matrix_synapse_container_labels_matrix_related_labels_enabled
...
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/3102
2024-01-17 10:13:15 +02:00
Slavi Pantaleev
17859eccca
Put matrix-static-files in matrix_playbook_reverse_proxy_container_network unless matrix_playbook_reverse_proxy_type is "none"
...
We likely weren't handling the `matrix_playbook_reverse_proxy_type: other-traefik-container`
case well before. Now, we should be.
2024-01-17 08:46:48 +02:00
Slavi Pantaleev
ee0a8c4a81
Upgrade Synapse (v1.98.0 -> v1.99.0)
2024-01-17 08:40:48 +02:00
Slavi Pantaleev
aa0a85b094
Properly switch to element-hq-synapse and introduce variables for customizing that
2024-01-17 08:40:23 +02:00
Slavi Pantaleev
c0afcaa2e3
Replace (almost) all matrix-org/synapse references with element-hq/synapse
...
Issues and Pull Requests were not migrated to the new
organization/repository, so `matrix-org/synapse/pull` and
`matrix-org/synapse/issues` references were kept as-is.
`matrix-org/synapse-s3-storage-provider` references were also kept,
as that module still continues living under the `matrix-org` organization.
This patch mainly aims to change documentation-related things, not actual
usage in full yet. For polish that, another more comprehensive patch is coming later.
2024-01-17 08:02:47 +02:00
Slavi Pantaleev
da1f570db6
Make sure matrix-static-files is connected to the (other Traefik) reverse-proxy network
2024-01-17 07:23:42 +02:00
Slavi Pantaleev
0315d03cdb
Make sure prometheus-postgres-exporter is connected to the Postgres network (if necessary)
...
Supersedes https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/3110
2024-01-17 07:17:39 +02:00
Slavi Pantaleev and GitHub
a7dfafbd95
Merge pull request #3107 from rubencabrera/master
...
Update broken links in reverse proxies docs
2024-01-17 07:01:57 +02:00
Slavi Pantaleev and GitHub
fb64e86ba1
Merge pull request #3104 from spantaleev/renovate/dock.mau.dev-mautrix-discord-0.x
...
Update dock.mau.dev/mautrix/discord Docker tag to v0.6.5
2024-01-17 07:01:27 +02:00
Slavi Pantaleev and GitHub
67f5640b3f
Merge pull request #3105 from spantaleev/renovate/dock.mau.dev-mautrix-gmessages-0.x
...
Update dock.mau.dev/mautrix/gmessages Docker tag to v0.2.4
2024-01-17 07:01:13 +02:00
Slavi Pantaleev and GitHub
0aff4abcb0
Merge pull request #3109 from Michael-Hollister/michael/mmr-grafana-update-10-1-0
...
Updated Grafana dashboard for MMR
2024-01-17 06:56:27 +02:00
Slavi Pantaleev and GitHub
e7ab93d7d4
Merge pull request #3111 from spantaleev/renovate/vectorim-element-web-1.x
...
Update vectorim/element-web Docker tag to v1.11.54
2024-01-17 06:55:20 +02:00
Slavi Pantaleev and GitHub
95452482f1
Merge pull request #3098 from spantaleev/renovate/prometheus-2.x
...
Update dependency prometheus to v2.49.1-0
2024-01-16 12:48:33 +02:00
Slavi Pantaleev
1036ae212f
Update deprecation message for matrix_playbook_ssl_retrieval_method
2024-01-16 10:12:43 +02:00
Slavi Pantaleev
8f56166e6b
Restore invocation of matrix-mailer migration tasks
...
Seems like calling these tasks got removed at some point
while merge the `bye-bye-nginx-proxy` branch.
2024-01-16 09:40:01 +02:00
Slavi Pantaleev and GitHub
36e9b7c8c5
Merge pull request #3097 from FSG-Cat/Draupnir-1-86-0
...
Update Draupnir to 1.86.0 and include changelog entry about new License
2024-01-16 08:30:15 +02:00
Slavi Pantaleev
b1e08db01d
Fix incorrect assumption for matrix_playbook_reverse_proxy_type == "other-traefik-container" setups
...
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/3095
2024-01-15 22:29:23 +02:00
Slavi Pantaleev
0b7657396b
Fix reference to unknown variable (matrix_well_known_ident)
...
This also supposedly improves the default container network for
`matrix-static-files` for the `other-traefik-container` reverse-proxy
type.
2024-01-15 22:04:22 +02:00
Slavi Pantaleev and GitHub
4e1f578db5
Merge pull request #3093 from spantaleev/renovate/prometheus-2.x
...
Update dependency prometheus to v2.49.0-0
2024-01-15 17:07:16 +02:00
Slavi Pantaleev
8dadcee4bc
Goodbye, matrix-nginx-proxy 🪦
2024-01-15 16:52:02 +02:00
Slavi Pantaleev
a4bea66553
Remove references to other-nginx-non-container/other-on-same-host/other-on-another-host reverse proxy types
2024-01-15 16:14:12 +02:00
Slavi Pantaleev
3e3afb79b8
Relocate reverse-proxy example configurations and update docs/configuring-playbook-own-webserver.md with more details
2024-01-15 13:53:14 +02:00
Slavi Pantaleev
92c3122b96
Add additional-networks support to matrix-dynamic-dns
...
Not that it seems necessary right now, but it makes it consistent with
all other roles.
2024-01-15 11:18:25 +02:00
Slavi Pantaleev
ad32953e0b
Add additional-networks support to matrix-coturn
...
Not that it seems necessary right now, but it makes it consistent with
all other roles.
2024-01-15 11:18:09 +02:00
Slavi Pantaleev
fe13d7d010
Fix additional-networks connectivity for a few services
2024-01-15 11:13:47 +02:00
Slavi Pantaleev
e0aebe9b1e
Fix incorrect ExecStart (+ docker create) definition in matrix-mautrix-googlechat.service
2024-01-15 11:09:25 +02:00
Slavi Pantaleev
a717509531
Fix DB migrations for mautrix-hangouts failing to reach the database container
2024-01-15 11:07:41 +02:00
Slavi Pantaleev
48a4afb114
Make Traefik labels files look better
...
This moves the comments from being just in Jinja,
to actually ending up in the generated `labels` file,
which makes inspection of the final result easier.
Also, some new lines were added here and there to make labels
more legible.
The generated file may still include weird new-lines due to
various `if` statements yielding content or not, but that's not so ugly
anymore - now that we have proper start/end sections that are visible in
the final `labels` file.
2024-01-15 10:41:15 +02:00
Slavi Pantaleev
b9148675db
Remove extraneous endif in Conduit labels
2024-01-15 09:41:19 +02:00
Slavi Pantaleev
b91ad453be
Adjust TLS variables for homeservers to follow devture_traefik_config_entrypoint_web_secure_enabled (via matrix_federation_traefik_entrypoint_tls)
2024-01-15 09:39:36 +02:00
Slavi Pantaleev
3fa21d19be
Wire matrix_bot_maubot_hostname via group vars
2024-01-14 21:33:09 +02:00
Slavi Pantaleev
25697861d7
Fix some variable typos in matrix-prometheus-nginxlog-exporter
2024-01-14 21:32:02 +02:00
Slavi Pantaleev
142a307af9
Fix more variable name typos in mx-puppet-twitter
...
Like 4f9b7ba656 .
Regression since 8e8c9cc03 .
2024-01-14 21:26:22 +02:00
Slavi Pantaleev
4f9b7ba656
Add missing container label wiring for mautrix-googlechat and mautrix-hangouts
2024-01-14 21:22:08 +02:00
Slavi Pantaleev
fe38c616c3
Fix variable name typo in matrix-bridge-mx-puppet-twitter
2024-01-14 21:21:11 +02:00
Slavi Pantaleev
8f64262e31
Fix yamllint-reported errors
2024-01-14 18:52:18 +02:00
Slavi Pantaleev
f4f3d57520
Remove all traces of matrix-nginx-proxy, add validation & uninstallation tasks
2024-01-14 18:42:14 +02:00
Slavi Pantaleev
18211810ef
Fix some default values in matrix-static-files
2024-01-14 18:34:39 +02:00
Slavi Pantaleev
0e831db3e5
Update reverse-proxy examples
2024-01-14 17:24:00 +02:00
Slavi Pantaleev
aff57d67c0
Adjust Synapse OIDC variable wiring and docs
...
Auto-enabling the OIDC APIs is convenient for people
using the new `matrix_synapse_oidc_*` variables.
2024-01-14 12:34:25 +02:00
Slavi Pantaleev
bdc573d1b1
Wire some matrix-synapse-reverse-proxy-companion label variables based on matrix-synapse variables
2024-01-14 12:31:05 +02:00
Slavi Pantaleev
038c63888a
Remove definition of old variable (matrix_synapse_admin_nginx_proxy_integration_enabled)
2024-01-14 12:12:15 +02:00
Slavi Pantaleev
aeb1bde4ab
Remove matrix-nginx-proxy reference from matrix-bridge-hookshot
2024-01-14 12:06:05 +02:00