Slavi Pantaleev
410a915a8a
Move roles/matrix* to roles/custom/matrix*
This paves the way for installing other roles into `roles/galaxy` using `ansible-galaxy`,
similar to how it's done in:
- https://github.com/spantaleev/gitea-docker-ansible-deploy
- https://github.com/spantaleev/nextcloud-docker-ansible-deploy
In the near future, we'll be removing a lot of the shared role code from here
and using upstream roles for it. Some of the core `matrix-*` roles have
already been extracted out into other reusable roles:
- https://github.com/devture/com.devture.ansible.role.postgres
- https://github.com/devture/com.devture.ansible.role.systemd_docker_base
- https://github.com/devture/com.devture.ansible.role.timesync
- https://github.com/devture/com.devture.ansible.role.vars_preserver
- https://github.com/devture/com.devture.ansible.role.playbook_runtime_messages
- https://github.com/devture/com.devture.ansible.role.playbook_help
We just need to migrate to those.
3 lat temu
Slavi Pantaleev
9c549a185f
Auto-purge orphaned Let's Encrypt renewal configuration files
3 lat temu
Slavi Pantaleev
9fd3e00b71
Upgrade nginx (1.23.1 -> 1.23.2)
3 lat temu
Slavi Pantaleev
20db57d288
Upgrade certbot (v1.30.0 -> v1.31.0)
3 lat temu
Slavi Pantaleev
89648cf58e
Fix some ansible-lint-reported warnings
3 lat temu
Slavi Pantaleev
226c550ffa
Add support for stream writer Synapse workers
As stream writer workers are also powered by the `generic_worker`
Synapse app, this necessitated that we provide means for distinguishing
between them and regular `generic_workers`.
I've also taken the time to optimize nginx configuration generation
(more Jinja2 macro usage, less duplication).
Worker names have also changed.
Workers are now named sequentially like this:
- `matrix-synapse-worker-0-generic`
- `matrix-synapse-worker-1-stream-writer-typing`
- `matrix-synapse-worker-2-pusher`
instead of `matrix-synapse-worker_generic_worker-18111` (indexed with a
port number).
People who modify `matrix_synapse_workers_enabled_list` directly will
need to adjust their configuration.
3 lat temu
Slavi Pantaleev
f12206676f
Upgrade Synapse (v1.66.0 -> 1.67.0) and remove `frontend_proxy` workers
`frontend_proxy` workers have been superseded by `generic_worker` workers.
Related to https://github.com/matrix-org/synapse/pull/13645
3 lat temu
Slavi Pantaleev
11f2cda21a
Upgrade Certbot (1.28 -> 1.30)
3 lat temu
kapcake
7170545a54
Update nginx-proxy: 1.23.0 -> 1.23.1
3 lat temu
Charles Wright
20767b5149
Fixes to enable Conduit in setup-all
3 lat temu
Aine
a6506cf6ff
update nginx 1.21.6 -> 1.23.0
3 lat temu
Aine
e149f33140
add/unify 'Project source code URL' link across all roles
3 lat temu
Julian Foad
ec9f8e2931
Add a role to install 'ntfy' push-notification server.
This commit adds a 'matrix-ntfy' role that runs Ntfy server in Docker with
simple configuration, and plumbing to add the role to the playbook.
TODO: documentation, self-check, database persistence.
3 lat temu
Slavi Pantaleev
2e4fad6194
Use 127.0.0.1 instead of localhost for federation API when nginx disabled
`localhost` may resolve to `::1` on some IPv6-enabled systems, which will
not work, because we only potentially expose container ports on
`127.0.0.1` when nginx is disabled (`matrix_nginx_proxy_enabled: false`),
not on `::1`.
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/1914
3 lat temu
Slavi Pantaleev
ba51997f7b
(BC Break) Redo how metrics are exposed to external Prometheus servers
3 lat temu
Slavi Pantaleev
a3a6e14f7b
Add matrix_nginx_proxy_proxy_synapse_metrics_addr_{with,sans}_container variables to defaults
We redefine these variables in `group_vars/matrix_servers`, but it's better
to have some defaults in the role as well.
3 lat temu
Slavi Pantaleev
f4cf7b9cc1
Remove unused variable (matrix_nginx_proxy_synapse_workers_enabled_list) definition
3 lat temu
Slavi Pantaleev
f943e82384
Upgrade Certbot (1.27 -> 1.28)
3 lat temu
Slavi Pantaleev
271a8d0a73
Upgrade certbot (v1.23.0 -> v1.27.0)
3 lat temu
Slavi Pantaleev
4a0b839768
Automatically do the right thing with regards to Synapse Metrics htpasswd
.. regardless of whether matrix-nginx-proxy runs in a container or not
3 lat temu
Aine
290754371a
add matrix-bot-buscarron
3 lat temu
Andrea Tartaglia
68424e68e5
feat: make synapse htpasswd file path configurable
When setting `matrix_nginx_proxy_enabled: false` and enabling authentication on the metrics endpoint, the htpasswd file is hardcoded to the nginx-proxy container dir, this changes the hardcoded value to a variable so the path can be updated
3 lat temu
borisrunakov
acaebfbf67
optional media cache with range requests support ( #1759 )
3 lat temu
Yan Minagawa
b982733a8a
fix typo in document path for the proxy
3 lat temu
Alejo Diaz
4ec24ec344
Add support for obtain ECDSA keys ( #1667 )
* Add support for obtain ECDSA keys
* Replace matrix_ssl_lets_encrypt_use_ecdsa_keys for matrix_ssl_lets_encrypt_key_type
4 lat temu
GoliathLabs
e53cc026d0
Updated: certbot to v1.23.0
4 lat temu
Marko Weltzer
7e5b88c3b7
fix: all praise the allmighty yamllinter
4 lat temu
GoliathLabs
33851f1dfa
Updated: nginx to 1.21.6-alpine
4 lat temu
GoliathLabs
b608c3d342
Updated: worker_processes to auto
4 lat temu
GoliathLabs
8a66db850e
Updated: Certbot to v1.22.0
4 lat temu
Slavi Pantaleev
29bc22a085
Add matrix_nginx_proxy_container_additional_networks
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/1498
4 lat temu
Slavi Pantaleev
3b9d5b13e9
Add support for not serving Dendrite federation APIs on the client port
Seems like Dendrite encourages serving both the Client and Federation
API at the same port.
Coming from Synapse and how things are done there, we have separate
ports. Using separate ports probably makes matrix-corporal (etc.)
integration easier, so separating the APIs by default probably makes
sense.
4 lat temu
Slavi Pantaleev
ecc237bbad
Initial work on getting nginx reverse proxying working with Dendrite
4 lat temu
rakshazi
5788a16a2e
added matrix-client-cinny
4 lat temu
Slavi Pantaleev
8515ac55e6
Upgrade nginx (1.21.4 -> 1.21.5)
4 lat temu
Slavi Pantaleev
afd7f03bb5
Minor comment changes
4 lat temu
Slavi Pantaleev
fa704f104b
Add support for using custom ACME CA servers (other than Let's Encrypt')
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/1468
4 lat temu
Slavi Pantaleev
3a9fe48deb
Make matrix-nginx-proxy's X-Forwarded-For header customizable
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/1393
4 lat temu
boris runakov
394ecb0acc
remove default from variable name
4 lat temu
boris runakov
d3a9ec98de
refactoring
4 lat temu
boris runakov
1ec67f49b0
replaced 8008 where possible
4 lat temu
b
07496069c8
rellocating variables for consistency
4 lat temu
b
7756cc4c8e
replace port 8048 with matrix_synapse_container_default_federation_port
4 lat temu
sakkiii
cd26af2f6f
Certbot Update (v1.20.0 -> v1.21.0)
4 lat temu
sakkiii
7a4f49c457
Nginx Minio Update (1.21.3 -> 1.21.4)
4 lat temu
b
dcda17595a
change port 8090 to matrix_ma1sd_default_port
4 lat temu
HarHarLinks
4209c4208c
add own variable for worker metrics
https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1311#issuecomment-945718866
4 lat temu
Slavi Pantaleev
2bf052369d
Upgrade certbot (v1.19.0 -> v1.20.0)
4 lat temu
Kim Brose
1ba7760ea4
add how to generate htpasswd
for matrix_nginx_proxy_proxy_synapse_metrics_basic_auth_key
resolves #1308
4 lat temu
HarHarLinks
d9fa2f7ed4
add auto proxy synapse worker metrics
when matrix_nginx_proxy_proxy_synapse_metrics is enabled
4 lat temu