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".
3 лет назад
Slavi Pantaleev
38c4e464c1
Fix self-check for Hydrogen and Cinny when running under a subpath
3 лет назад
Aine
954920dd4f
Update ntfy 1.31.0 -> 2.0.0
3 лет назад
Aine
64ec1db077
Update mautrix-whatsapp 0.8.1 -> 0.8.2
3 лет назад
Aine
649f6512ca
Update mautrix-discord 0.1.0 -> 0.1.1
3 лет назад
Slavi Pantaleev
bb7895678c
Fix typo
3 лет назад
Aine
4fe6015464
Update ntfy 1.30.1 -> 1.31.0
3 лет назад
Slavi Pantaleev
7c5826f1c3
Break dependency between matrix-prometheus-nginxlog-exporter and the Grafana role
Wiring happens via `group_vars/matrix_servers` now.
3 лет назад
Slavi Pantaleev
1006b8d899
Replace matrix-grafana with an external role
3 лет назад
Slavi Pantaleev
94124263a7
Add matrix_prometheus_container_network/matrix_prometheus_container_additional_networks
3 лет назад
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
3 лет назад
Slavi Pantaleev
c85d48c45c
Remove Traefik labels for Hydrogen & Cinny from matrix-nginx-proxy
Related to 6a52be7987 and 28e7ef9c71f02
3 лет назад
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
3 лет назад
Aine
3570808633
Update synapse 1.76.0 -> 1.77.0
3 лет назад
Aine
c98f40c836
Update hydrogen 0.3.7 -> 0.3.8
3 лет назад
Julian-Samuel Gebühr
6727aa55ec
Bump element version
Signed-off-by: Julian-Samuel Gebühr <julian-samuel@gebuehr.net>
3 лет назад
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
3 лет назад
Slavi Pantaleev
3bace0c7b9
Add matrix_synapse_admin_hostname and rename matrix_synapse_admin_public_endpoint (to matrix_synapse_admin_path_prefix)
3 лет назад
Slavi Pantaleev
2e74187050
Add matrix_client_element_hostname and matrix_client_element_path_prefix variables
3 лет назад
Slavi Pantaleev
eb7292f274
Add matrix_client_hydrogen_hostname and fix Hydrogen serving at non-root-path
3 лет назад
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.
3 лет назад
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.
3 лет назад
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.
3 лет назад
Slavi Pantaleev
5c7cd70684
Make use of the existing matrix_synapse_admin_public_endpoint variable
3 лет назад
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.
3 лет назад
Slavi Pantaleev
71597132e0
Move around some matrix-client-element variables
3 лет назад
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.
3 лет назад
Slavi Pantaleev
ff1338e003
Add support for hosting Element (on Traefik) at a subpath
3 лет назад
Slavi Pantaleev
e34174b1b4
Add various security headers to matrix-client-element when behind Traefik
3 лет назад
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
3 лет назад
Slavi Pantaleev
f2ed5e4b04
Delete /matrix/nginx-proxy/conf.d/matrix-client-element.conf if matrix_nginx_proxy_proxy_element_enabled not enabled
3 лет назад
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
3 лет назад
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.
3 лет назад
Aine
f6f7bbd2a1
Update coturn 4.6.1-r1 -> 4.6.1-r2
3 лет назад
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`.
3 лет назад
Slavi Pantaleev
78c35136b2
Replace matrix-backup-borg with an external role
3 лет назад
td
af10d350bc
fix: missing endif in client well-known
3 лет назад
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>
3 лет назад
Array in a Matrix
79413e7717
updated dendrite
3 лет назад
Catalan Lover
cba63bd4b9
Upgrade Drapunir from 1.8.0 Beta to 1.8.0 release.
3 лет назад
Slavi Pantaleev
6b0650641b
Update matrix_playbook_reverse_proxy_type documentation
3 лет назад
Slavi Pantaleev
8309a21303
Rename reverse proxy types and fix Hookshot http/https urlPrefix issue
3 лет назад
Slavi Pantaleev
ad22bdb884
Do not run matrix-user-verification-service validation tasks unless the service is enabled
3 лет назад
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`.
3 лет назад
Slavi Pantaleev
97f65e8dff
Minor fixes to allow for Traefik without SSL
3 лет назад
Aine
a1ef28681a
Update Hydrogen 0.3.6 -> 0.3.7
3 лет назад
Slavi Pantaleev
28d2eb593c
Add matrix_playbook_reverse_proxy_type variable which influences all other services
3 лет назад
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.
3 лет назад
Slavi Pantaleev
e1bfa2a7d6
Fix ansible-lint-reported errors
3 лет назад
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.
3 лет назад