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.
há 3 anos
Slavi Pantaleev
9c549a185f
Auto-purge orphaned Let's Encrypt renewal configuration files
há 3 anos
Slavi Pantaleev
9fd3e00b71
Upgrade nginx (1.23.1 -> 1.23.2)
há 3 anos
Slavi Pantaleev
20db57d288
Upgrade certbot (v1.30.0 -> v1.31.0)
há 3 anos
Slavi Pantaleev
89648cf58e
Fix some ansible-lint-reported warnings
há 3 anos
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.
há 3 anos
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
há 3 anos
Slavi Pantaleev
11f2cda21a
Upgrade Certbot (1.28 -> 1.30)
há 3 anos
kapcake
7170545a54
Update nginx-proxy: 1.23.0 -> 1.23.1
há 3 anos
Charles Wright
20767b5149
Fixes to enable Conduit in setup-all
há 3 anos
Aine
a6506cf6ff
update nginx 1.21.6 -> 1.23.0
há 3 anos
Aine
e149f33140
add/unify 'Project source code URL' link across all roles
há 3 anos
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.
há 3 anos
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
há 3 anos
Slavi Pantaleev
ba51997f7b
(BC Break) Redo how metrics are exposed to external Prometheus servers
há 3 anos
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.
há 3 anos
Slavi Pantaleev
f4cf7b9cc1
Remove unused variable (matrix_nginx_proxy_synapse_workers_enabled_list) definition
há 3 anos
Slavi Pantaleev
f943e82384
Upgrade Certbot (1.27 -> 1.28)
há 3 anos
Slavi Pantaleev
271a8d0a73
Upgrade certbot (v1.23.0 -> v1.27.0)
há 3 anos
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
há 4 anos
Aine
290754371a
add matrix-bot-buscarron
há 4 anos
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
há 4 anos
borisrunakov
acaebfbf67
optional media cache with range requests support ( #1759 )
há 4 anos
Yan Minagawa
b982733a8a
fix typo in document path for the proxy
há 4 anos
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
há 4 anos
GoliathLabs
e53cc026d0
Updated: certbot to v1.23.0
há 4 anos
Marko Weltzer
7e5b88c3b7
fix: all praise the allmighty yamllinter
há 4 anos
GoliathLabs
33851f1dfa
Updated: nginx to 1.21.6-alpine
há 4 anos
GoliathLabs
b608c3d342
Updated: worker_processes to auto
há 4 anos
GoliathLabs
8a66db850e
Updated: Certbot to v1.22.0
há 4 anos
Slavi Pantaleev
29bc22a085
Add matrix_nginx_proxy_container_additional_networks
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/1498
há 4 anos
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.
há 4 anos
Slavi Pantaleev
ecc237bbad
Initial work on getting nginx reverse proxying working with Dendrite
há 4 anos
rakshazi
5788a16a2e
added matrix-client-cinny
há 4 anos
Slavi Pantaleev
8515ac55e6
Upgrade nginx (1.21.4 -> 1.21.5)
há 4 anos
Slavi Pantaleev
afd7f03bb5
Minor comment changes
há 4 anos
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
há 4 anos
Slavi Pantaleev
3a9fe48deb
Make matrix-nginx-proxy's X-Forwarded-For header customizable
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/1393
há 4 anos
boris runakov
394ecb0acc
remove default from variable name
há 4 anos
boris runakov
d3a9ec98de
refactoring
há 4 anos
boris runakov
1ec67f49b0
replaced 8008 where possible
há 4 anos
b
07496069c8
rellocating variables for consistency
há 4 anos
b
7756cc4c8e
replace port 8048 with matrix_synapse_container_default_federation_port
há 4 anos
sakkiii
cd26af2f6f
Certbot Update (v1.20.0 -> v1.21.0)
há 4 anos
sakkiii
7a4f49c457
Nginx Minio Update (1.21.3 -> 1.21.4)
há 4 anos
b
dcda17595a
change port 8090 to matrix_ma1sd_default_port
há 4 anos
HarHarLinks
4209c4208c
add own variable for worker metrics
https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1311#issuecomment-945718866
há 4 anos
Slavi Pantaleev
2bf052369d
Upgrade certbot (v1.19.0 -> v1.20.0)
há 4 anos
Kim Brose
1ba7760ea4
add how to generate htpasswd
for matrix_nginx_proxy_proxy_synapse_metrics_basic_auth_key
resolves #1308
há 4 anos
HarHarLinks
d9fa2f7ed4
add auto proxy synapse worker metrics
when matrix_nginx_proxy_proxy_synapse_metrics is enabled
há 4 anos