Slavi Pantaleev
964aa0e84d
Switch to using an external Ntfy role
The newly extracted role also has native Traefik support,
so we no longer need to rely on `matrix-nginx-proxy` for
reverse-proxying to Ntfy.
The new role uses port `80` inside the container (not `8080`, like
before), because that's the default assumption of the officially
published container image. Using a custom port (like `8080`), means the
default healthcheck command (which hardcodes port `80`) doesn't work.
Instead of fiddling to override the healthcheck command, we've decided
to stick to the default port instead. This only affects the
inside-the-container port, not any external ports.
The new role also supports adding the network ranges of the container's
multiple additional networks as "exempt hosts". Previously, only one
network's address range was added to "exempt hosts".
il y a 3 ans
Slavi Pantaleev
38c4e464c1
Fix self-check for Hydrogen and Cinny when running under a subpath
il y a 3 ans
Aine
954920dd4f
Update ntfy 1.31.0 -> 2.0.0
il y a 3 ans
Aine
64ec1db077
Update mautrix-whatsapp 0.8.1 -> 0.8.2
il y a 3 ans
Aine
649f6512ca
Update mautrix-discord 0.1.0 -> 0.1.1
il y a 3 ans
Slavi Pantaleev
bb7895678c
Fix typo
il y a 3 ans
Aine
4fe6015464
Update ntfy 1.30.1 -> 1.31.0
il y a 3 ans
Slavi Pantaleev
7c5826f1c3
Break dependency between matrix-prometheus-nginxlog-exporter and the Grafana role
Wiring happens via `group_vars/matrix_servers` now.
il y a 3 ans
Slavi Pantaleev
1006b8d899
Replace matrix-grafana with an external role
il y a 3 ans
Slavi Pantaleev
94124263a7
Add matrix_prometheus_container_network/matrix_prometheus_container_additional_networks
il y a 3 ans
Slavi Pantaleev
0b9dc56edf
Add type support to matrix_coturn_container_additional_volumes
.. and try to auto-switch between `bind` and `volume` depending on
whether there's a slash in the `src` path.
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/2482
il y a 3 ans
Slavi Pantaleev
c85d48c45c
Remove Traefik labels for Hydrogen & Cinny from matrix-nginx-proxy
Related to 6a52be7987 and 28e7ef9c71f02
il y a 3 ans
Aine
4045d72e7b
update postmoogle 0.9.13 -> 0.9.14
* make banlist consistent
* proper multi-error message
* ignore "." MX hosts
* try recipient domain directly, even when MX records found, but failed
il y a 3 ans
Aine
3570808633
Update synapse 1.76.0 -> 1.77.0
il y a 3 ans
Aine
c98f40c836
Update hydrogen 0.3.7 -> 0.3.8
il y a 3 ans
Julian-Samuel Gebühr
6727aa55ec
Bump element version
Signed-off-by: Julian-Samuel Gebühr <julian-samuel@gebuehr.net>
il y a 3 ans
Slavi Pantaleev
f28e7ef9c7
Add (native) Traefik support to matrix-client-cinny
Previously, it had to go through matrix-nginx-proxy.
It's exposed to Traefik directly via container labels now
il y a 3 ans
Slavi Pantaleev
3bace0c7b9
Add matrix_synapse_admin_hostname and rename matrix_synapse_admin_public_endpoint (to matrix_synapse_admin_path_prefix)
il y a 3 ans
Slavi Pantaleev
2e74187050
Add matrix_client_element_hostname and matrix_client_element_path_prefix variables
il y a 3 ans
Slavi Pantaleev
eb7292f274
Add matrix_client_hydrogen_hostname and fix Hydrogen serving at non-root-path
il y a 3 ans
Slavi Pantaleev
6a52be7987
Add (native) Traefik support to matrix-client-hydrogen
Previously, it had to go through matrix-nginx-proxy.
It's exposed to Traefik directly via container labels now
Serving at a path other than `/` doesn't work well yet.
il y a 3 ans
Slavi Pantaleev
64e2b26ed5
Fix Hydrogen failing to start
We were mounting our own configuration to
`/usr/share/nginx/html/config.json`, which is a symlink to
`/tmp/config.json`. So we effectively mount our file to
`/tmp/config.json`.
When starting:
- if Hydrogen sees a `CONFIG_OVERRIDE` environment variable,
it will try to save it into our read-only config file and fail.
- if Hydrogen doesn't see a `CONFIG_OVERRIDE` environment variable (the
path we go through, because we don't pass such a variable),
it will try to copy its bundled configuration (`/config.json.bundled`)
to `/tmp/config.json`. Because our configuration is mounted as read-only, it will
fail.
In both cases, it will fail with:
> cp: can't create '/tmp/config.json': File exists
Source: 3720de36bb/docker/dynamic-config.sh
We work around this by mounting our configuration on top of the bundled
one (`/config.json.bundled`). We then let Hydrogen's startup script copy
it to `/tmp/config.json` (a tmpfs we've mounted into the container) and use it from there.
il y a 3 ans
Slavi Pantaleev
799cbb44fb
Add the ability to control (Traefik) routing priority for Element and synapse-admin
This may proof useful to someone in the future.
il y a 3 ans
Slavi Pantaleev
5c7cd70684
Make use of the existing matrix_synapse_admin_public_endpoint variable
il y a 3 ans
Slavi Pantaleev
c33ed94352
Add security headers to synapse-admin (on Traefik)
We've had it on `matrix-nginx-proxy` before, but
our initial support for Traefik did not include any of these security
headers.
il y a 3 ans
Slavi Pantaleev
71597132e0
Move around some matrix-client-element variables
il y a 3 ans
Slavi Pantaleev
5ab5f28d14
Add support for running synapse-admin (on Traefik) at the root path
Previously, we had to run it at a subpath, like `/synapse-admin`.
We can now dedicate a whole domain and the `/` path to it, should we
wish to do so.
il y a 3 ans
Slavi Pantaleev
ff1338e003
Add support for hosting Element (on Traefik) at a subpath
il y a 3 ans
Slavi Pantaleev
e34174b1b4
Add various security headers to matrix-client-element when behind Traefik
il y a 3 ans
Slavi Pantaleev
e51e4eec09
Add (native) Traefik support to matrix-client-element
Previously, it had to go through matrix-nginx-proxy.
It's exposed to Traefik directly via container labels now
il y a 3 ans
Slavi Pantaleev
f2ed5e4b04
Delete /matrix/nginx-proxy/conf.d/matrix-client-element.conf if matrix_nginx_proxy_proxy_element_enabled not enabled
il y a 3 ans
Aine
9f820a506a
Update postmoogle 0.9.12 -> 0.9.13
* live SSL certificates reload on file changes (e.g., on automatic certs renewal)
* print all errors when trying connection to an SMTP server
il y a 3 ans
Slavi Pantaleev
3d9aa8387e
Add (native) Traefik support to synapse-admin
Previously, it had to go through matrix-nginx-proxy.
It's exposed to Traefik directly via container labels now.
il y a 3 ans
Aine
f6f7bbd2a1
Update coturn 4.6.1-r1 -> 4.6.1-r2
il y a 3 ans
Slavi Pantaleev
38904c08b0
Wire backup_borg_username
It's probably unnecessary, as this user is only used in the borg container
internally, but.. It doesn't hurt to set it to `matrix`.
il y a 3 ans
Slavi Pantaleev
78c35136b2
Replace matrix-backup-borg with an external role
il y a 3 ans
td
af10d350bc
fix: missing endif in client well-known
il y a 3 ans
Jayesh Nirve
6939a3d6d3
fix: only add element related entries to client well-known if element is enabled ( #2453 )
* fix: only add element related entries to client well-known if element is enabled
* Fix matrix-base/defaults/main.yml syntax
---------
Co-authored-by: Slavi Pantaleev <slavi@devture.com>
il y a 3 ans
Array in a Matrix
79413e7717
updated dendrite
il y a 3 ans
Catalan Lover
cba63bd4b9
Upgrade Drapunir from 1.8.0 Beta to 1.8.0 release.
il y a 3 ans
Slavi Pantaleev
6b0650641b
Update matrix_playbook_reverse_proxy_type documentation
il y a 3 ans
Slavi Pantaleev
8309a21303
Rename reverse proxy types and fix Hookshot http/https urlPrefix issue
il y a 3 ans
Slavi Pantaleev
ad22bdb884
Do not run matrix-user-verification-service validation tasks unless the service is enabled
il y a 3 ans
Slavi Pantaleev
7142ff422d
Ensure matrix_user_verification_service_uvs_access_token is always defined
The playbook tries to avoid such variables which are sometimes defined
and sometimes not. We'd rather not check for `is defined`.
il y a 3 ans
Slavi Pantaleev
97f65e8dff
Minor fixes to allow for Traefik without SSL
il y a 3 ans
Aine
a1ef28681a
Update Hydrogen 0.3.6 -> 0.3.7
il y a 3 ans
Slavi Pantaleev
28d2eb593c
Add matrix_playbook_reverse_proxy_type variable which influences all other services
il y a 3 ans
Slavi Pantaleev
f6ab162fff
Remove systemd-reloading handler in matrix-user-verification-service
None of the other roles use handlers.
We rely on com.devture.ansible.role.systemd_service_manager to reload services when it's necessary to do so.
il y a 3 ans
Slavi Pantaleev
e1bfa2a7d6
Fix ansible-lint-reported errors
il y a 3 ans
Slavi Pantaleev
43a6a035a0
Skip removing /.well-known/element directory to suppress ansible-lint error
Leaving an orphan directory is okay and can be improved later on.
il y a 3 ans