Slavi Pantaleev
48e6344c9e
Merge branch 'master' into bye-bye-nginx-proxy
2024-01-13 10:25:35 +02:00
Slavi Pantaleev
22dce1d4cc
Upgrade matrix-reminder-bot and lock it down via the new allowlist setting
2024-01-13 10:22:06 +02:00
Slavi Pantaleev
48311bb96a
Stop using deprecated variable name (prometheus_node_exporter_server_fqn)
2024-01-13 09:05:43 +02:00
Slavi Pantaleev
3c81d0b06a
Only expose prometheus-node-exporter/prometheus-postgres-exporter metrics publicly if matrix_metrics_exposure_enabled
2024-01-12 17:58:11 +02:00
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.
2024-01-12 17:54:54 +02:00
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.
2024-01-12 17:41:54 +02:00
Slavi Pantaleev
7fba83924c
Remove etherpad-proxy-connect role
2024-01-12 17:22:46 +02:00
Slavi Pantaleev
4018aa38b3
Move matrix-registration service to its own network and add native Traefik support
2024-01-12 17:17:12 +02:00
Slavi Pantaleev
41a52945d6
Add support for exposing metrics for Synapse workers
2024-01-12 12:16:06 +02:00
Slavi Pantaleev
22f5f0ba75
Add support for exposing metrics for Synapse (without workers)
2024-01-12 12:15:57 +02:00
Slavi Pantaleev
18254cd0b2
Remvoe all Traefik labels from matrix-nginx-proxy and update docs for delegation via SRV
2024-01-11 12:31:56 +02:00
Slavi Pantaleev
c4d6144bb9
Add metrics-exposure support for Dendrite
2024-01-11 12:02:15 +02:00
Slavi Pantaleev
e902214070
Automatically expose /_synapse/admin for Dendrite when synapse-admin is enabled
...
This is what we do for Synapse as well.
2024-01-11 11:31:12 +02:00
Slavi Pantaleev
d8eb768e03
Add native Traefik support to matrix-dendrite
2024-01-11 11:30:42 +02:00
Slavi Pantaleev
f78adfde47
Remove Synapse support from matrix-nginx-proxy
2024-01-11 09:24:01 +02:00
Slavi Pantaleev
030e8065e4
Remove Conduit support from matrix-nginx-proxy
2024-01-11 09:21:00 +02:00
Slavi Pantaleev
9ae8ccac36
Add matrix_conduit_hostname
2024-01-11 09:17:13 +02:00
Slavi Pantaleev
4639eebf12
Add native Traefik support to matrix-conduit
2024-01-11 08:56:51 +02:00
Slavi Pantaleev
53b5d8286f
Merge branch 'master' into bye-bye-nginx-proxy
2024-01-11 08:35:53 +02:00
Slavi Pantaleev
6766216fcb
Wire Conduit to advertise usage of the Coturn TURN server
...
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/3089
2024-01-11 07:52:48 +02:00
Slavi Pantaleev
f54b68956d
Adapt matrix-media-repo to new container network setup, etc.
2024-01-09 18:52:38 +02:00
Slavi Pantaleev
db272ab995
Move ma1sd out matrix-addons and into matrix-homeserver container network
...
Such a core service probably belongs better when it's in the homeserver network
2024-01-09 18:51:25 +02:00
Slavi Pantaleev
fc79afadd1
Merge branch 'master' into bye-bye-nginx-proxy
2024-01-09 16:07:54 +02:00
Slavi Pantaleev
3e19c8b102
Define matrix_media_repo_homeservers_auto in group vars
...
This is mostly so as to avoid referring to variables from other roles,
like `matrix_nginx_proxy_proxy_matrix_client_api_addr_with_container`.
2024-01-09 16:07:23 +02:00
Slavi Pantaleev
c7a637bfde
Merge branch 'master' into bye-bye-nginx-proxy
2024-01-09 16:03:01 +02:00
Slavi Pantaleev
883afa11dc
Do not hardcode devture_postgres_identifier in matrix-media-repo role
...
This should come (and already does) from group_vars/matrix_servers
2024-01-09 16:02:31 +02:00
Slavi Pantaleev
aea66442a1
Move matrix-ma1sd to its own container network and add native Traefik support
2024-01-09 15:27:13 +02:00
Slavi Pantaleev
61216d51cc
Move matrix-ldap-registration-proxy to its own container network and add native Traefik support
...
This also makes it handle the `/_matrix/client/v3/register` endpoint,
not just `/_matrix/client/r0/register`
2024-01-09 11:28:20 +02:00
Slavi Pantaleev
998e9ce655
Revert "Auto-generate matrix_bot_matrix_registration_bot_bot_password via group vars"
...
This reverts commit bf95ad2235
.
This was a bad idea.
It's better to have people manually define the password.
Otherwise, `matrix_homeserver_generic_secret_key` changing some day in
the future would break the bot and one would have to figure out how to
reset its password manually.
Using an explicit password is more stable.
2024-01-09 10:22:20 +02:00
Slavi Pantaleev
bf95ad2235
Auto-generate matrix_bot_matrix_registration_bot_bot_password via group vars
2024-01-09 10:19:57 +02:00
Slavi Pantaleev
fce84a2b3c
Rename variable for consistency (matrix_homeserver_proxy_ident -> matrix_homeserver_proxy_identifier)
2024-01-09 09:54:42 +02:00
Slavi Pantaleev
2f27a57d00
Rename variable for consistency (matrix_static_files_ident -> matrix_static_files_identifier)
2024-01-09 09:54:00 +02:00
Slavi Pantaleev
ea992496a3
Add matrix-cactus-comments-client role
...
This is split out from matrix-cactus-comments (see 241779b583
),
but also heavily inspired by `matrix-static-files`.
2024-01-09 09:53:01 +02:00
Slavi Pantaleev
14b252c5f0
Merge branch 'master' into bye-bye-nginx-proxy
2024-01-08 20:00:10 +02:00
Slavi Pantaleev
7c5cbecd78
Enable self-building for cactus-comments on non-amd64 architectures
...
The container image has only ever been available for amd64,
so not enabling self-building for the other architectures was a mistake
that orignally landed in:
https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/2089
2024-01-08 19:58:41 +02:00
Slavi Pantaleev
241779b583
Initial work on moving matrix-cactus-comments to its own container network and splitting cactus-client out of it
2024-01-08 19:57:18 +02:00
Slavi Pantaleev
30d82cc651
Merge branch 'master' into bye-bye-nginx-proxy
2024-01-08 18:18:34 +02:00
Slavi Pantaleev
b6916d3adc
Add public_address to mautrix-discord
...
Related to https://github.com/mautrix/discord/issues/95
2024-01-08 18:16:02 +02:00
Slavi Pantaleev
594e6d9679
Move matrix-sms-bridge to its own container network and add support for non-Synapse homeservers
2024-01-08 18:10:38 +02:00
Slavi Pantaleev
8e8c9cc03b
Move matrix-bridge-mx-puppet-twitter to its own container network and add native Traefik support
2024-01-08 17:56:37 +02:00
Slavi Pantaleev
1e19fee772
Move matrix-bridge-mx-puppet-steam to its own container network
2024-01-08 17:56:12 +02:00
Slavi Pantaleev
3c099541a7
Move matrix-bridge-mx-puppet-slack to its own container network and add native Traefik support
2024-01-08 17:56:12 +02:00
Slavi Pantaleev
150a40ec26
Move matrix-bridge-mx-puppet-instagram to its own container network
2024-01-08 17:16:50 +02:00
Slavi Pantaleev
f94f2b9823
Move matrix-bridge-mx-puppet-groupme to its own container network
2024-01-08 17:16:50 +02:00
Slavi Pantaleev
82de4581e3
Add support for disabling presence on matrix-bridge-mx-puppet-discord
2024-01-08 17:06:38 +02:00
Slavi Pantaleev
6d0ecb0269
Move matrix-bridge-mx-puppet-discord to its own container network
2024-01-08 17:03:48 +02:00
Slavi Pantaleev
8b28f8e122
Move matrix-bridge-mautrix-twitter to its own container network and add native Traefik support
2024-01-07 17:54:46 +02:00
Slavi Pantaleev
f9b4ae8241
Move matrix-bridge-mautrix-telegram to its own container network and add native Traefik support
2024-01-07 17:35:10 +02:00
Slavi Pantaleev
0f89156e94
Move matrix-bridge-mautrix-slack to its own container network
2024-01-07 17:22:43 +02:00
Slavi Pantaleev
d6911503a0
Move matrix-bridge-mautrix-signal to its own container network and add native Traefik support
2024-01-07 17:16:38 +02:00
Slavi Pantaleev
7ec6fd3dfe
Make bridges/bots use matrix_addons_homeserver_client_api_url (instead of matrix_homeserver_container_url)
2024-01-07 17:04:23 +02:00
Slavi Pantaleev
142de83b41
Move matrix-bridge-mautrix-hangouts to its own container network
2024-01-07 15:37:39 +02:00
Slavi Pantaleev
f8f3318bb2
Move matrix-bridge-mautrix-googlechat to its own container network
2024-01-07 15:24:11 +02:00
Slavi Pantaleev
c6c88c2503
Move matrix-bridge-mautrix-gmessages to its own container network
2024-01-07 15:24:11 +02:00
Slavi Pantaleev
5e7b882ce9
Adjust homeserver URL for Buscarron
2024-01-07 15:24:11 +02:00
Slavi Pantaleev
39e45b0298
Move matrix-bridge-heisenbridge to its own container network
2024-01-07 15:24:10 +02:00
Slavi Pantaleev
493a9abafa
Move matrix-bridge-go-skype-bridge to its own container network
2024-01-07 14:48:21 +02:00
Slavi Pantaleev
205663a4be
Move matrix-bridge-beeper-linkedin to its own container network
2024-01-07 13:56:40 +02:00
Slavi Pantaleev
a5618a893b
Move matrix-bridge-appservice-webhooks to its own container network
2024-01-07 12:48:30 +02:00
Slavi Pantaleev
5f329f72ab
Fix variable name typo in Honoroit group vars
2024-01-07 12:27:24 +02:00
Slavi Pantaleev
db53a17a38
Move matrix-bridge-appservice-slack to its own container network
2024-01-07 12:22:51 +02:00
Slavi Pantaleev
3fe3d5a78c
Move matrix-bridge-appservice-kakaotalk to its own container network
2024-01-07 12:04:27 +02:00
Slavi Pantaleev
dcdc43b6aa
Move matrix-bridge-appservice-irc to its own container network
2024-01-07 12:00:46 +02:00
Slavi Pantaleev
bf11a3c2ca
Tie up some loose ends for matrix-appservice-discord
2024-01-07 11:56:05 +02:00
Slavi Pantaleev
0994730f4d
Minor improvements to mautrix-facebook group vars wiring
2024-01-07 10:24:06 +02:00
Slavi Pantaleev
7d625011a1
Move matrix-bridge-appservice-discord to its own container network
2024-01-07 10:23:01 +02:00
Slavi Pantaleev
c5006c3ac2
Move matrix-bot-maubot to its own container network and add native Traefik support
2024-01-07 10:16:42 +02:00
Slavi Pantaleev
a794db4c38
Reorder matrix-bot-matrix-reminder-bot group vars for consistency
2024-01-07 09:35:18 +02:00
Slavi Pantaleev
87c8c29c47
Move matrix-bot-matrix-registration-bot to its own container network
2024-01-07 09:33:37 +02:00
Slavi Pantaleev
628496d022
Move matrix-bot-honoroit to its own container network
2024-01-07 09:30:08 +02:00
Slavi Pantaleev
835f623bb8
Move matrix-bot-go-neb to its own container network
2024-01-07 09:23:24 +02:00
Slavi Pantaleev
867af6385a
Move matrix-bot-mjolnir to its own container network
2024-01-07 09:20:24 +02:00
Slavi Pantaleev
88ad58fccb
Move matrix-bot-draupnir to its own container network
2024-01-07 09:04:38 +02:00
Slavi Pantaleev
d8b867b6fb
Move matrix-bot-buscarron to its own container network
2024-01-07 09:04:35 +02:00
Slavi Pantaleev
14d57bb7a6
Reorganize mautrix-facebook group vars for consistency
2024-01-07 08:58:06 +02:00
Slavi Pantaleev
b122c7092a
Merge branch 'master' into bye-bye-nginx-proxy
2024-01-05 18:12:44 +02:00
Slavi Pantaleev
d116d863e6
Move exim-relay service to its own network and connect Synapse & ma1sd to it automatically
2024-01-05 18:10:24 +02:00
Slavi Pantaleev
0bb40d1337
Fix integration between ma1sd and exim-relay
...
Regression since ba0a4e864a
2024-01-05 17:59:27 +02:00
Slavi Pantaleev
377fce5855
Merge branch 'master' into bye-bye-nginx-proxy
2024-01-05 17:55:49 +02:00
Slavi Pantaleev
ba0a4e864a
Replace matrix-mailer with an external role
2024-01-05 17:54:50 +02:00
Slavi Pantaleev
9488e3857a
Put all homeservers in the matrix-homeserver container network
2024-01-05 16:49:48 +02:00
Slavi Pantaleev
1be90cf87d
Move Postgres to its own network for better isolation
...
A lot of services are yet to be updated to start connecting to
`devture_postgres_container_network` as an additional network.
Many are already done, but I'll go through all the others later.
2024-01-05 16:38:32 +02:00
Slavi Pantaleev
b37a02720f
Move all Matrix client apps into the matrix-addons container network
...
Putting each client into its own network was good for isolation,
but it's quite wasteful in terms of the container network pool.
2024-01-05 07:17:11 +02:00
Slavi Pantaleev
d262ca0fe6
Only enable matrix-synapse-reverse-proxy-companion when Synapse workers are enabled
...
This allows us to eliminate the companion and decrease overhead for
simple servers which do not use workers.
2024-01-05 07:00:50 +02:00
Slavi Pantaleev
499e4887f7
Connect sliding-sync directly to the homeserver
...
This saves up 1 container network and avoids going through extra proxies
unnecessarily.
2024-01-05 06:28:42 +02:00
Slavi Pantaleev
7a6a6270d1
Fix API endpoints for Synapse when companion is disabled (removing leading http://)
2024-01-05 06:26:56 +02:00
Slavi Pantaleev
3fb016cd6b
Put bots and bridges in the same network and remove a few variables
...
Downsides: decreasing security slightly due to less networking isolation
Benefits:
- decreased complexity
- having a generically-named `matrix-addons` network we may use for other things now (client apps, etc.)
- not exhausting the container networks pool with 2 (or more) networks and using just 1
2024-01-05 06:13:12 +02:00
Slavi Pantaleev
170f321a01
Minor sliding-sync improvements
2024-01-05 06:04:44 +02:00
Slavi Pantaleev
015acb6d08
Add native Traefik support to matrix-synapse
2024-01-04 19:00:23 +02:00
Slavi Pantaleev
abde681b56
Clean up some matrix_nginx_proxy_proxy_matrix_metrics_* references
2024-01-04 12:49:00 +02:00
Slavi Pantaleev
54fb153acf
Expose /_synapse/* APIs via matrix-synapse-reverse-proxy-companion
...
This also updates validation tasks and documentation, pointing to
variables in the matrix-synapse role which don't currently exist yet
(e.g. `matrix_synapse_container_labels_client_synapse_admin_api_enabled`).
These variables will be added soon, as Traefik labels are added to the
`matrix-synapse` role. At that point, the `matrix-synapse-reverse-proxy-companion` role
will be updated to also use them.
2024-01-04 11:37:17 +02:00
Slavi Pantaleev
0ea3fa0e85
Add matrix_synapse_reverse_proxy_companion_container_labels_traefik_hostname to simplify wiring
2024-01-04 10:53:43 +02:00
Slavi Pantaleev
4752e7f9a0
Get rid of matrix_nginx_proxy_proxy_matrix_client_redirect_root_uri_to_domain
2024-01-04 10:27:32 +02:00
Slavi Pantaleev
e678adfeda
Add root path (/) handling to matrix-synapse-reverse-proxy-companion (redirect or /_matrix/static/ serving)
2024-01-04 10:24:33 +02:00
Slavi Pantaleev
bbd9493b8f
Handle /_matrix Client-Server and Federation APIs directly at matrix-synapse-reverse-proxy-companion
2024-01-03 17:05:59 +02:00
Slavi Pantaleev
e81a395a98
Drop some matrix_nginx_proxy_proxy_riot_compat_* variables
...
matrix-nginx-proxy is going away and this is one of the features it
offered.
This feature will have no equivalent in our new Traefik-only
setup, although it's possible to implement it manually by using
`matrix_client_element_container_labels_additional_labels`
2024-01-03 14:43:45 +02:00
Slavi Pantaleev
cc75be9c65
Add support for serving the base domain via matrix-static-files
2024-01-03 14:39:17 +02:00
Slavi Pantaleev
da48a605bb
More progress on matrix-static-files role and cleaning up of matrix-base and matrix-nginx-proxy
2024-01-03 13:46:25 +02:00
Slavi Pantaleev
065b70203d
[WIP] Initial work on matrix-static-files role
2024-01-03 13:05:59 +02:00
Slavi Pantaleev
128a7b82d5
Switch mautrix-instagram from matrix-nginx-proxy to matrix-homeserver-proxy
...
This is completely untested.
2024-01-03 09:25:05 +02:00