Slavi Pantaleev
77ab0d3e98
Do not delete Prometheus/Grafana Docker images
Same reasoning as in 1cd251ed78
5 anni fa
Marcus Proest
b99372a3c5
initial commit of mautrix-instagram role
5 anni fa
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)
5 anni fa
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
5 anni fa
Slavi Pantaleev
9f91eaa54b
Fix incorrect service name
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/887
5 anni fa
Slavi Pantaleev
9dc87bb948
Add Synapse worker presets for easier configuration
Adding more presets in the future would be nice.
5 anni fa
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.
5 anni fa
Slavi Pantaleev
2f732e4234
Update Synapse worker endpoints
5 anni fa
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
5 anni fa
Béla Becker
65eab14a64
Make sure Etherpad has a database to write to
5 anni fa
Béla Becker
005f4d57f9
Remove mention of sqlite3 support for Etherpad
The official Etherpad Docker image has no support for sqlite3 databases.
5 anni fa
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`).
5 anni fa
rakshazi
996f732f98
Update synapse-admin (0.6.1 -> 0.7.0)
5 anni fa
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
5 anni fa
Slavi Pantaleev
521160c12f
Upgrade Synapse (v1.26.0 -> v1.27.0)
5 anni fa
Slavi Pantaleev
865d71e35a
Upgrade Element (1.7.20 -> 1.7.21)
5 anni fa
Marc Leuser
fd3d48bb6d
trust the reverse proxy by default
5 anni fa
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
5 anni fa
Slavi Pantaleev
61e427d690
Do not let people enable more than 1 federation_sender worker
5 anni fa
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.
5 anni fa
Slavi Pantaleev
43059bb040
Fix metrics listeners for Synapse workers
`::` leads to errors like:
> socket.gaierror: [Errno -9] Address family for hostname not supported
5 anni fa
Slavi Pantaleev
453a4ec2d8
Relocate tasks related to Synapse workers
5 anni fa
Slavi Pantaleev
a8e9f35708
Touch up documentation a bit
5 anni fa
Slavi Pantaleev
7d39e5153a
Upgrade Postgres minor versions
5 anni fa
Cody Neiman
dc5e7eed3f
Fix mx-puppet-groupme port typo
5 anni fa
Cody Neiman
2b3c143487
Update mx-puppet-groupme docker image
5 anni fa
Cody Neiman
5a70a56ff0
Initial implementation
5 anni fa
Slavi Pantaleev
8434af10de
Do not fail on unrelated validation tasks when Grafana not enabled
5 anni fa
Slavi Pantaleev
66d5b0e5b9
Do not fail on unrelated validation tasks when Prometheus not enabled
These validation tasks should only run when Prometheus is enabled.
5 anni fa
Slavi Pantaleev
c8ab200cb1
Break dependency between matrix-prometheus and (matrix-prometheus-node-exporter, matrix-synapse)
5 anni fa
Slavi Pantaleev
6842102e00
Split install/uninstall tasks in matrix-prometheus
5 anni fa
Slavi Pantaleev
18e31526a8
Rename some variables
5 anni fa
Slavi Pantaleev
85a260daaf
Make --tags=setup-prometheus not break, relying on matrix-base facts
5 anni fa
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.
5 anni fa
Slavi Pantaleev
3ce9712388
Fix Grafana dashboard/datasource label
5 anni fa
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.
5 anni fa
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
5 anni fa
Peetz0r
fde222a041
Update Prometheus Node Exporter 1.0.1 => 1.1.0
5 anni fa
Peetz0r
3a77261dc6
Update Grafana 7.3.7 => 7.4.0
5 anni fa
Peetz0r
144a5e6198
Register docker network info and use it for prometheus-node-exporter
Using the hardcoded IP did break while I was
messing with IPv6 stuff on the other branch
5 anni fa
Peetz0r
76d7e84be5
Make prometheus-node-exporter a bit more capable
By running it in a more privileged container with access to the host network stack and such
5 anni fa
Peetz0r
989100b1c1
Grafana nginx proxy config
5 anni fa
Peetz0r
eb5aa93e8a
Grafana
Also includes the dashboards for Synapse and for Node Exporter.
Again has only been tested on debian amd64 so far, but the grafana docker image is available for arm64 and arm32. Nice.
5 anni fa
Peetz0r
e525970b39
Prometheus Node Exporter
Basic system stats, to show stuff the synapse metrics
can't show such as resource usage by bridges, etc
Seems to work fine as well.
This too has only been tested on debian amd64 so far
5 anni fa
Peetz0r
13ef9e85cf
Prometheus
Initial attempt. Seems to work fine.
Only tested on debian amd64 so far
5 anni fa
Slavi Pantaleev
7e8e95a09a
Make S3-mounting path configurable
This will make data migration easier.
5 anni fa
Yan
385b6c623e
Fixes: a66a604e ("Selfbuild appservice-slack bridge")
5 anni fa
Stuart Thomson
064b2e533c
Add variable for extra domains to get LE certs for
I felt that adding another variable was probably going to be the easiest way to do this. I may end up adding another variable to enable this feature, for consistency with some of the other things.
5 anni fa
Paul Tötterman
9ad67d7cdf
Upgrade Element (1.7.19 -> 1.7.20)
https://github.com/vector-im/element-web/releases/tag/v1.7.20
https://hub.docker.com/layers/vectorim/element-web/v1.7.20/images/sha256-44cae3a532d86c16940deb70866b522ba6acc8c5d7adf3c661cfc8b06f1de681?context=explore
5 anni fa
Aaron Raimist
5cb976c321
Upgrade Element (1.7.18 -> 1.7.19)
5 anni fa