Slavi Pantaleev
009efdad49
Fix matrix.DOMAIN/_synapse/metrics exposing
This is something that got lost during
https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/456
and more specifically 4d62a75f6f .
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/914
pirms 5 gadiem
Slavi Pantaleev
a25b8135b8
Fix point overlap between matrix-domain and Jitsi
Mostly affects people who disable the integrated `matrix-nginx-proxy`.
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/456
and more specifically 4d62a75f6f .
pirms 5 gadiem
Slavi Pantaleev
c527f2930e
Upgrade Element (1.7.21 -> 1.7.22)
pirms 5 gadiem
Slavi Pantaleev
fef6d57626
Remove alembic migrations for mautrix-facebook
They're gone now: b8ce80e476
pirms 5 gadiem
Hardy Erlinger
f4930d789e
Run Let's Encrypt renewal checks daily instead of weekly.
This ensures more timely updates of certifcates.
pirms 5 gadiem
Slavi Pantaleev
6baa91dd9f
Do not delete matrix-ssl-lets-encrypt-certificates-renew only to recreate it later
This seems to have been added to the list of "deprecated files to
remove" by mistake.
pirms 5 gadiem
Slavi Pantaleev
ccf5915874
Upgrade Synapse for ARM64 (v1.26.0 -> v1.28.0)
pirms 5 gadiem
Slavi Pantaleev
ae091d7b2d
Upgrade Synapse (v1.27.0 -> v1.28.0)
pirms 5 gadiem
Slavi Pantaleev
1ef683d366
Make nginx proxy config (when disabled) obey matrix_federation_public_port
People who were disabling matrix-nginx-proxy (in favor of their own
nginx webserver) and also overriding `matrix_federation_public_port`,
found that the generated nginx configuration still hardcoded `8448`,
which forced their nginx server to use that, regardless of the fact
that `matrix_federation_public_port` was pointing elsewhere.
We now allow for the in-container federation port to be configurable,
and also automatically wire things properly.
pirms 5 gadiem
Slavi Pantaleev
2ef1d9c537
Make healthchecks work for Synapse worker containers
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/456
pirms 5 gadiem
Slavi Pantaleev
f9a0ec6fd1
Fix some bridges failing when Synapse workers enabled
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/904
pirms 5 gadiem
Slavi Pantaleev
8f7f45d6e4
Revert "trust the reverse proxy by default"
This reverts commit fd3d48bb6d .
Normally this environment variable gets referred to from `settings.json.docker`,
but we have our own full configuration, which hardcodes `"trustProxy": true`,
thus making this useless.
This has been pointed out here:
fd3d48bb6d (commitcomment-47403097)
pirms 5 gadiem
Slavi Pantaleev
77ab0d3e98
Do not delete Prometheus/Grafana Docker images
Same reasoning as in 1cd251ed78
pirms 5 gadiem
rakshazi
2f887f292c
added "matrix_%SERVICE%_version" variable to all roles, use it in "matrix_%SERVICE%_docker_image" var (preserving backward-compatibility)
pirms 5 gadiem
Marcus Proest
b99372a3c5
initial commit of mautrix-instagram role
pirms 5 gadiem
Slavi Pantaleev
108aed53be
Fix invalid matrix-postgres.service when matrix_postgres_process_extra_arguments is empty
This only seems to be affecting some people badly enough to cause
matrix-postgres not to start. Certain systemd versions probably handle
it better or something.
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/889
(hopefully)
pirms 5 gadiem
Slavi Pantaleev
1dbdfeec07
Fix matrix-postgres stopping for consistency with other services
This probably got lost somehow in all the work that happened in
https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/456
pirms 5 gadiem
Slavi Pantaleev
9f91eaa54b
Fix incorrect service name
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/887
pirms 5 gadiem
Slavi Pantaleev
9dc87bb948
Add Synapse worker presets for easier configuration
Adding more presets in the future would be nice.
pirms 5 gadiem
Slavi Pantaleev
eaea215282
Allow Synapse workers to be used with an external nginx webserver
We're talking about a webserver running on the same machine, which
imports the configuration files generated by the `matrix-nginx-proxy`
in the `/matrix/nginx-proxy/conf.d` directory.
Users who run an nginx webserver on some other machine will need to do
something different.
pirms 5 gadiem
Slavi Pantaleev
2f732e4234
Update Synapse worker endpoints
pirms 5 gadiem
Slavi Pantaleev
217b4a8808
Release Synapse v1.27.0 to ARM32 via self-building
Related to: https://matrix.org/blog/2021/02/18/synapse-1-27-0-released#dropping-armv7-docker-images
pirms 5 gadiem
Béla Becker
65eab14a64
Make sure Etherpad has a database to write to
pirms 5 gadiem
Béla Becker
005f4d57f9
Remove mention of sqlite3 support for Etherpad
The official Etherpad Docker image has no support for sqlite3 databases.
pirms 5 gadiem
Slavi Pantaleev
d6c4d41c2b
Define instanceId property on workers
This give us the possibility to run multiple instances of
workers that that don't expose a port.
Right now, we don't support that, but in the future we could
run multiple `federation_sender` or `pusher` workers, without
them fighting over naming (previously, they'd all be named
something like `matrix-synapse-worker-pusher-0`, because
they'd all define `port` as `0`).
pirms 5 gadiem
rakshazi
996f732f98
Update synapse-admin (0.6.1 -> 0.7.0)
pirms 5 gadiem
Slavi Pantaleev
d33483b8ce
Document that Synapse pusher worker instances are shardable
Related to:
- https://github.com/matrix-org/synapse/pull/9407
- https://github.com/matrix-org/synapse/pull/7855
pirms 5 gadiem
Slavi Pantaleev
521160c12f
Upgrade Synapse (v1.26.0 -> v1.27.0)
pirms 5 gadiem
Slavi Pantaleev
865d71e35a
Upgrade Element (1.7.20 -> 1.7.21)
pirms 5 gadiem
Marc Leuser
fd3d48bb6d
trust the reverse proxy by default
pirms 5 gadiem
Marc Leuser
1434c371bd
safer port binding of etherpad docker container
don't bind to any host port if nginx_proxy is used
only bind to localhost if it's not used
pirms 5 gadiem
Slavi Pantaleev
61e427d690
Do not let people enable more than 1 federation_sender worker
pirms 5 gadiem
Slavi Pantaleev
85a05f38e8
Allow Synapse worker list to be generated dynamically
This leads to much easier management and potential safety
features (validation). In the future, we could try to avoid port
conflicts as well, but it didn't seem worth the effort to do it now.
Our port ranges seem large enough.
This can also pave the way for a "presets" feature
(similar to `matrix_nginx_proxy_ssl_presets`) which makes it even easier
for people to configure worker counts.
pirms 5 gadiem
Slavi Pantaleev
43059bb040
Fix metrics listeners for Synapse workers
`::` leads to errors like:
> socket.gaierror: [Errno -9] Address family for hostname not supported
pirms 5 gadiem
Slavi Pantaleev
453a4ec2d8
Relocate tasks related to Synapse workers
pirms 5 gadiem
Slavi Pantaleev
a8e9f35708
Touch up documentation a bit
pirms 5 gadiem
Slavi Pantaleev
7d39e5153a
Upgrade Postgres minor versions
pirms 5 gadiem
Cody Neiman
dc5e7eed3f
Fix mx-puppet-groupme port typo
pirms 5 gadiem
Cody Neiman
2b3c143487
Update mx-puppet-groupme docker image
pirms 5 gadiem
Cody Neiman
5a70a56ff0
Initial implementation
pirms 5 gadiem
Slavi Pantaleev
8434af10de
Do not fail on unrelated validation tasks when Grafana not enabled
pirms 5 gadiem
Slavi Pantaleev
66d5b0e5b9
Do not fail on unrelated validation tasks when Prometheus not enabled
These validation tasks should only run when Prometheus is enabled.
pirms 5 gadiem
Slavi Pantaleev
c8ab200cb1
Break dependency between matrix-prometheus and (matrix-prometheus-node-exporter, matrix-synapse)
pirms 5 gadiem
Slavi Pantaleev
6842102e00
Split install/uninstall tasks in matrix-prometheus
pirms 5 gadiem
Slavi Pantaleev
18e31526a8
Rename some variables
pirms 5 gadiem
Slavi Pantaleev
85a260daaf
Make --tags=setup-prometheus not break, relying on matrix-base facts
pirms 5 gadiem
Slavi Pantaleev
df3dd1c824
Use --read-only FS for metrics-related containers
It seems like it doesn't cause any issues for any of these services.
pirms 5 gadiem
Slavi Pantaleev
3ce9712388
Fix Grafana dashboard/datasource label
pirms 5 gadiem
Slavi Pantaleev
f0cd294628
Fix matrix-prometheus-node-exporter failure to start
The quotes around "host" for both `--pid` and `--net` were
causing trouble for me:
> docker: --pid: invalid PID mode.
and:
> docker: Error response from daemon: network "host" not found.
I've also changed the `-v` call to `--mount` for consistency with the
rest of the playbook.
pirms 5 gadiem
efraimbart
b7e68cb779
Fix wrong docker image being pulled
Changed `matrix_mautrix_signal_docker_image_force_pull` to `matrix_mautrix_signal_daemon_docker_image_force_pull` when force pulling the daemon
pirms 5 gadiem