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.
2024-01-12 12:45:18 +02:00
a92efa46ad
Merge branch 'master' into bye-bye-nginx-proxy
2024-01-11 18:57:44 +02:00
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
2024-01-11 18:57:16 +02:00
53b5d8286f
Merge branch 'master' into bye-bye-nginx-proxy
2024-01-11 08:35:53 +02:00
95e505106b
Restore matrix_mautrix_signal_appservice_bot_username usage
...
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/3088
Looks like the migration to the Go-based Signal bridge hardcoded the
`signalbot` username instead of using the variable we had.
Related to: https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/3041
2024-01-11 07:55:41 +02:00
9171b8df91
Merge branch 'master' into bye-bye-nginx-proxy
2024-01-09 10:49:00 +02:00
5caf1fef1d
chore(deps): update signal bridge version + config ( #3084 )
...
* chore(deps): update signal bridge version + config
* style(deps): rename default note to self config variable
* Add to_json for additional safety
---------
Co-authored-by: Slavi Pantaleev <slavi@devture.com >
2024-01-09 10:07:46 +02:00
d6911503a0
Move matrix-bridge-mautrix-signal to its own container network and add native Traefik support
2024-01-07 17:16:38 +02:00
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
377fce5855
Merge branch 'master' into bye-bye-nginx-proxy
2024-01-05 17:55:49 +02:00
a266da1b78
fix: space sync config
2024-01-05 10:49:09 +02:00
9b6c393414
Merge branch 'master' into bye-bye-nginx-proxy
2024-01-05 10:20:33 +02:00
fc151fed77
Add raw/endraw around problematic texts in matrix-bridge-mautrix-signal/templates/config.yaml
...
Fixes: https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/3082
Related to: https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/3079
2024-01-05 10:20:00 +02:00
2ec6448cdb
Merge branch 'master' into bye-bye-nginx-proxy
2024-01-05 07:05:34 +02:00
2b2c1880cb
Updated mautrix-signal docker image
2024-01-05 00:09:40 +01:00
0222e75c19
added new options to mautrix-signal config template
2024-01-04 16:06:58 +01:00
9c3d8687bf
added new options to mautrix-signal config template
2024-01-04 15:09:42 +01:00
8f88b5d25e
updated mautrix-signal docker image
2024-01-04 15:04:06 +01:00
abde681b56
Clean up some matrix_nginx_proxy_proxy_matrix_metrics_* references
2024-01-04 12:49:00 +02:00
c76aaf2e0b
fix(signal): tag follows declared version
2024-01-02 21:44:36 +02:00
aa60fdeb00
Do not put architecture stuff in matrix_mautrix_signal_version
...
.. because matrix_mautrix_signal_version is used in other places
which do not expect it. For example: `matrix_mautrix_signal_container_image_self_build_branch`
Related to: https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/3041
2024-01-02 16:01:16 +02:00
4db1e5930d
chore: update signal bridge
2023-12-31 12:36:33 +01:00
e5d31b5883
chore: update signal bridge version
2023-12-30 16:46:55 +01:00
cd9411158f
fix: signal docker tag follow system arch
2023-12-30 16:39:49 +01:00
91e39a58f7
feat: relay mode in signal
2023-12-27 12:20:34 +01:00
1894f84b8a
chore: update bridge docker tag
2023-12-21 18:27:32 +01:00
a8e14ac79e
fix: ansible yaml syntax
2023-12-21 14:03:37 +01:00
81e015db9d
feat: auto removal of signal-daemon service
2023-12-19 12:37:13 +01:00
b426a68316
chore: update mautrix-signal for legacy compat.
2023-12-19 12:33:05 +01:00
c93b642f90
doc: check typo
2023-12-18 16:51:35 +01:00
2f6525ccb3
refactor: remove signalgo and update signal to 'after merge'
2023-12-18 16:38:52 +01:00
2511b34a7c
Stop containers gracefully, instead of outright killing them
2023-12-06 11:52:23 +02:00
95c2db3bb3
mautrix: allow relay access by default, closes #3014
2023-11-29 13:32:14 +02:00
c846ed199b
Annotate version numbers with renovate metadata
2023-10-06 14:14:03 +02:00
a5cb6272d8
add global bridges relay mode switch
2023-07-21 13:22:05 +03:00
dc4b4d87d2
Update mautrix-signal 0.4.2 -> 0.4.3
2023-05-17 14:55:47 +00:00
39ae66602c
Update signald version
...
0.23.1 no longer syncs groups properly, the solution is to use 0.23.2, which works as expected
2023-05-01 14:25:17 +01:00
7399496d33
one var to control encryption across all bridges ( #2629 )
...
* one var to control encryption across all bridges
* move var to matrix-base
2023-04-05 14:59:48 +03:00
dddfee16bc
Fix all 300+ ansible-lint-reported errors
2023-03-07 17:28:15 +02:00
611a74bde2
Use |to_json in mautrix metrics configuration
...
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/2427
2023-01-30 08:59:35 +02:00
d82d0ad84b
Add _metrics_proxying_enabled variables to mautrix bridges
...
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/2427
`metrics_enabled` should only expose the metrics locally, on the
container network, so that a local Prometheus can consume them.
Exposing them publicly should be done via a separate toggle (`metrics_proxying_enabled`).
This is how all other roles work, so this makes these mautrix roles consistent with the rest.
2023-01-30 08:50:57 +02:00
9eaf6944e3
add nginx proxy connfig for mautrix metrics
2023-01-29 15:17:31 +01:00
691ef13cab
template metric toggle for mautrix bridges supporting it
2023-01-29 09:45:52 +01:00
d1b4a6ebe1
unify docker images urls
2023-01-14 15:26:58 +02:00
d1442dec15
Upgrade Signald
...
Fixes the following issue when trying to use the !pm <phone number> command: https://gitlab.com/signald/signald/-/issues/345
2022-12-22 22:31:38 +00:00
ceb2c30277
Upgrade mautrix-signal (v0.4.1 -> v0.4.2)
2022-12-03 15:37:17 +02:00
2688e8bfc3
Optimize initial installation by not reloading systemd after each .service install
...
We expect `--tags=start` to handle systemd reloading, so we don't need
to do it manually each time we install/uninstall a .service file.
2022-11-27 10:02:45 +02:00
7b43ef34b7
Remove more hardcoded matrix-postgres references
2022-11-27 09:16:18 +02:00
a04f6f4e3d
Optimize uninstall tasks a bit
...
- forego removing Docker images - it's not effective anyway, because it
only removes the last version.. which is a drop in the bucket, usually
- do not reload systemd - it's none of our business. `--tags=start`,
etc., handle this
- combine all uninstall tasks under a single block, which only runs if
we detect traces (a leftover systemd .service file) of the component.
If no such .service is detected, we skip them all. This may lead to
incorect cleanup in rare cases, but is good enough for the most part.
2022-11-25 17:28:57 +02:00
61f67d8f0a
Add install-* tags for quicker runs
2022-11-25 16:02:51 +02:00