Slavi Pantaleev
39bddefd39
Make addons communicate with the homeserver via a new internal Traefik entrypoint
This also adds labels for Synapse. Support for other homeservers and
components will be added later.
2 lat temu
Slavi Pantaleev
95e5a5c62e
Deprecate direct usage of devture_traefik_additional_entrypoints_auto
2 lat temu
Slavi Pantaleev
d48a70b052
Connect matrix-synapse-auto-compressor directly to Postgres network, if integrated Postgres is used
This saves us one container network in the ideal case.
2 lat temu
Slavi Pantaleev
10777218e8
Fix yamllint-reported errors in matrix-email2matrix
2 lat temu
Slavi Pantaleev
62c4e76634
Ensure matrix-nginx-proxy container network is created
2 lat temu
Slavi Pantaleev
17d80cb9e8
Move wsproxy to the matrix-addons network and adjust its Postgres connectivity
This is a bit of a compatibility break.
The role was defaulting the Postgres password to `some-password` and we
auto-generate it now.
However, rebuilding both Postgres and this service should unify the
database credentials and the service configs to the new value.
2 lat temu
Slavi Pantaleev
b9dfa87f9a
Document difference between matrix_homeserver_container_url and matrix_addons_homeserver_client_api_url
2 lat temu
Slavi Pantaleev
ed63068e22
Make maubot talk to the homeserver via matrix_addons_homeserver_client_api_url
2 lat temu
Slavi Pantaleev
fa591ba278
Add missing matrix_bot_maubot_admins variable to defaults for matrix-bot-maubot
2 lat temu
Slavi Pantaleev
c79f354dce
Move Dimension to the addons network and connect to Homeserver via matrix_addons_homeserver_client_api_url
2 lat temu
Slavi Pantaleev
49066d41a9
Deprecate matrix_docker_network
2 lat temu
Slavi Pantaleev
07d0ec4217
Fix variable name typo in validation task
2 lat temu
Slavi Pantaleev
0ceea3895e
Move all monitoring-related services to their own container network (`matrix_monitoring_container_network`)
2 lat temu
Slavi Pantaleev
594839448f
Move matrix-nginx-proxy to its own container network
This service will be removed soon, but for now we need to get rid of
`matrix_docker_network` usage everywhere.
2 lat temu
Slavi Pantaleev
cdf28c39d3
Move matrix-user-verification service to its own container network
2 lat temu
Slavi Pantaleev
1c7f892b2b
Make wsproxy use its own container network (matrix_mautrix_wsproxy_container_network)
2 lat temu
Slavi Pantaleev
7c286ab179
Remove matrix_docker_network references from remove-all script
2 lat temu
Slavi Pantaleev
c96a0156c0
Make matrix-dynamic-dns use its own container network
2 lat temu
Slavi Pantaleev
75f8a879de
Remove matrix_docker_network references from matrix-bridge-mx-puppet-twitter
2 lat temu
Slavi Pantaleev
d1d6fe01b0
Remove matrix_docker_network references from matrix-bot-maubot
2 lat temu
Slavi Pantaleev
23845c1d24
Remove matrix_docker_network references from matrix-bridge-hookshot
2 lat temu
Slavi Pantaleev
c86cff2708
Fix NeDB to Postgres importing task for matrix-bridge-appservice-slack
Same as 250b91a40968e, but for Slack
2 lat temu
Slavi Pantaleev
6b73073012
Fix NeDB to Postgres importing task for matrix-bridge-appservice-irc
Postgres is not in `matrix_docker_network` anymore, so what we had
before could not possibly work anymore.
2 lat temu
Slavi Pantaleev
e782e91fbd
Fix some variable typos in matrix-appservice-webhooks.service
2 lat temu
Slavi Pantaleev
3f212feb1f
Move matrix-email2matrix to its own container network
2 lat temu
Slavi Pantaleev
e2157517af
Hook matrix-homeserver-proxy to matrix-prometheus-nginxlog-exporter
2 lat temu
Slavi Pantaleev
262caf0d59
Add native Traefik support to matrix-prometheus-nginxlog-exporter
2 lat temu
Slavi Pantaleev
a78a749f75
Define matrix_synapse_reverse_proxy_companion_access_log_syslog_integration_server_port in the role defaults and make the tag configurable
2 lat temu
Slavi Pantaleev
0fe4aaae09
Fix variable name typos in validation tasks for a few bridges
The old variables existed as well, but I inteded to use these new ones.
2 lat temu
Slavi Pantaleev
313ecd8f8d
Do not require Prometheus in matrix-prometheus-nginxlog-exporter
The user may be running Prometheus elsewhere. It doesn't need to be
getting installed using the current playbook.
2 lat temu
Slavi Pantaleev
21d412f90b
Fix syntax errors in some --mount arguments
Regression since ce2f541deb
2 lat temu
Slavi Pantaleev
a9a1448f62
Add self-check for the matrix-corporal HTTP API (if enabled)
2 lat temu
Slavi Pantaleev
5d76b91dc2
Restore matrix-corporal functionality when matrix-nginx-proxy is not involved
2 lat temu
Slavi Pantaleev
22dce1d4cc
Upgrade matrix-reminder-bot and lock it down via the new allowlist setting
2 lat temu
Slavi Pantaleev
d6e91116ab
Update documentation related to variables for prometheus-node-exporter/prometheus-postgres-exporter metrics exposure
2 lat temu
Slavi Pantaleev
c468a860f8
Switch to exposing prometheus-postgres-exporter via native Traefik labels, not via matrix-prometheus-services-proxy-connect.. and remove `matrix-prometheus-services-proxy-connect` role
This requires at least `v0.14.0-2` of the `prometheus-postgres-exporter`
Ansible role.
2 lat temu
Slavi Pantaleev
beb0f2387d
Switch to exposing prometheus-node-exporter via native Traefik labels, not via matrix-prometheus-services-proxy-connect
This requires at least `v1.7.0-2` of the `prometheus-node-exporter`
Ansible role.
2 lat temu
Slavi Pantaleev
7fba83924c
Remove etherpad-proxy-connect role
2 lat temu
Slavi Pantaleev
4018aa38b3
Move matrix-registration service to its own network and add native Traefik support
2 lat temu
Slavi Pantaleev
13e47fc3f5
Remove matrix-nginx-proxy integration support from matrix-synapse-admin
2 lat temu
Slavi Pantaleev
74099383cd
Adapt external_prometheus.yml.example.j2 to our new metrics exposure setup
2 lat temu
Slavi Pantaleev
934b73c849
Remove leftover Synapse metrics code for integrating with matrix-nginx-proxy
2 lat temu
Slavi Pantaleev
c0308307e2
Make homeserver services sleep after startup, instead of all dependencies sleeping separately
This is an attempt at optimizing service startup.
The effect is most pronounced when many services are restarted one by one.
The systemd service manager role sometimes does this - for example when `just install-service synapse` runs.
In such cases, a 5-second delay for each Synapse worker service
(or other bridge/bot service that waits on the homeserver) quickly adds up to a lot.
When services are all stopped fully and then started, the effect is not so pronounced, because
`matrix-synapse.service` starts first and pulls all worker services (defined as `Wants=` for it).
Later on, when the systemd service manager role "starts" these worker services, they're started already.
Even if they had a 5-second wait each, it would have happened in parallel.
2 lat temu
Slavi Pantaleev
41a52945d6
Add support for exposing metrics for Synapse workers
2 lat temu
Slavi Pantaleev
22f5f0ba75
Add support for exposing metrics for Synapse (without workers)
2 lat temu
Slavi Pantaleev
3556dd77ef
Use variables instead of hardcoding service port numbers in labels for matrix-synapse
2 lat temu
Slavi Pantaleev
b38b00bbd7
Upgrade mautrix-signal (959eb7eaf9 -> de8c8d97c2)
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/3090
Related to https://github.com/mautrix/signal/issues/422
2 lat temu
Slavi Pantaleev
1831f09f2b
Shorten Traefik router names (*-endpoint -> *)
2 lat temu
Slavi Pantaleev
f9faaae26c
Shorten Traefik router name (*-well-known-endpoint -> *-well-known)
2 lat temu
Slavi Pantaleev
18254cd0b2
Remvoe all Traefik labels from matrix-nginx-proxy and update docs for delegation via SRV
2 lat temu