Slavi Pantaleev
ad32953e0b
Add additional-networks support to matrix-coturn
Not that it seems necessary right now, but it makes it consistent with
all other roles.
2 年之前
Slavi Pantaleev
dc9ff4e01b
Add support for external-IP-address-autodetection to Coturn
2 年之前
Samuel Meenzen
c846ed199b
Annotate version numbers with renovate metadata
2 年之前
Slavi Pantaleev
c8e0f35c94
Upgrade Coturn (4.6.2-r4 -> 4.6.2-r5)
2 年之前
Slavi Pantaleev
ce0eb973b0
Upgrade Coturn (4.6.2-r3 -> 4.6.2-r4)
2 年之前
Aine
df07b8fb7d
Update coturn 4.6.1-r3 -> 4.6.2-r3
2 年之前
Slavi Pantaleev
fa63785109
Upgrade Coturn (4.6.1-r2 -> 4.6.1-r3)
3 年之前
Slavi Pantaleev
69b2df629b
Enable some recommended Coturn options in an effort to lower DDoS amplification factor
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/2592
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 年之前
Aine
f6f7bbd2a1
Update coturn 4.6.1-r1 -> 4.6.1-r2
3 年之前
Slavi Pantaleev
c7767e9bc8
Upgrade Coturn (4.6.1-r0 -> 4.6.1-r1)
3 年之前
Slavi Pantaleev
aafa8f019c
Allow matrix_coturn_docker_network to be set to 'host' to use host-networking
This helps large deployments which need to open up thousands of ports
(matrix_coturn_turn_udp_min_port, matrix_coturn_turn_udp_min_port)
On a test VM, opening 1k ports takes 17 seconds for Docker to "publish"
all of these ports (setting up forwarding rules with the firewall, etc),
so service startup and shutdown take a long amount of time.
If host-networking is used, there's no need to open any ports at all
and startup/shutdown can be quick.
3 年之前
Slavi Pantaleev
bb0faa6bc3
Block various private network ranges via denied_peer_ips for Coturn by default
Inspired by: https://www.rtcsec.com/article/cve-2020-26262-bypass-of-coturns-access-control-protection/
3 年之前
Slavi Pantaleev
773cb7d37e
Make no-tcp-relay Coturn configuration property configurable
3 年之前
Slavi Pantaleev
bf23d63f82
Add matrix_coturn_additional_configuration
3 年之前
Slavi Pantaleev
4c9f96722f
Add no-multicast-peers to Coturn config by default
Part of a security hardening provoked by:
https://www.rtcsec.com/article/cve-2020-26262-bypass-of-coturns-access-control-protection/
3 年之前
Slavi Pantaleev
6414599079
Upgrade Coturn (4.6.0 -> 4.6.1)
3 年之前
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 年之前
Aine
83482721f8
Update Coturn 4.5.2-r14 -> 4.6.0-r0
3 年之前
Slavi Pantaleev
f2d613dfea
Upgrade Coturn (4.5.2-r13 -> 4.5.2-r14)
3 年之前
Aine
66d4c7e072
[DO NOT MERGE]Update Coturn 4.5.2-r12 -> 4.5.2-r13
**no docker tag yet**, [keep an eye on it](https://hub.docker.com/r/coturn/coturn/tags?page=1&name=4.5.2-r13 )
3 年之前
Aine
e149f33140
add/unify 'Project source code URL' link across all roles
3 年之前
Aine
f448cca732
Update coturn 4.5.2-r11 -> 4.5.2-r12
3 年之前
Aine
ac1bd49494
Update coturn 4.5.2-r8 -> 4.5.2-r11
4 年之前
Slavi Pantaleev
f4ba995d9b
Fix validation and prevent empty "external-ip=" lines in Coturn config
We no longer validate that there's an IP address defined.
Seems like Coturn can start without one as well, so there's no need to
require it.
If people populate `matrix_coturn_turn_external_ip_addresses` directly
to specify multiple addresses, they can leave
`matrix_coturn_turn_external_ip_address` empty.
We use the "select not equal to empty string" thing in the for loop
to avoid `matrix_coturn_turn_external_ip_address` leading to
`matrix_coturn_turn_external_ip_addresses: ['']` leading to
`external-ip=` in the Coturn configuration.
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1741
4 年之前
Hefty Zauk
03d2dcc996
Move into coturn defaults
4 年之前
heftyzauk
268b079374
Revert Coturn Address Change, add new Addresses var ( #2 )
4 年之前
heftyzauk
29847627f1
Multi-IP coturn
Add support for multiple external turn IP addresses, this allows for better comptability with dualstack ipv4/ipv6 hosts, and is supported as per the documentation (point 6 here: https://matrix-org.github.io/synapse/latest/turn-howto.html#configuration )
4 年之前
Marko Weltzer
7e5b88c3b7
fix: all praise the allmighty yamllinter
4 年之前
sakkiii
980c2b9a80
Update coturn (4.5.2-r4 -> 4.5.2-r8)
4 年之前
sakkiii
6feb99076a
Update Coturn (4.5.2-r3 -> 4.5.2-r4)
4 年之前
Slavi Pantaleev
dc8000760b
Bump Coturn version tag (4.5.2-r2 -> 4.5.2-r3)
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/1236
4 年之前
Michael Collins
98e6cd685d
sync with previous repo
4 年之前
Slavi Pantaleev
b6d71b9da1
Fix self-building for Coturn
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/1158
4 年之前
sakkiii
04805f35a7
Coturn update 4.5.2 -> 4.5.2-r2
4 年之前
sakkiii
1cc1202df2
update coturn
4 年之前
Slavi Pantaleev
3dcc006932
Fix self-building for Coturn
689dcea773 wasn't enough. The `upstream/..` tags are
just upstream sources, without the alpine-based Dockerfile.
We need to use the `docker/..` tags for that (or `master`)
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/1032
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/1023
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1009
4 年之前
Slavi Pantaleev
689dcea773
Fix self-building for Coturn
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/1023
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1009
4 年之前
Slavi Pantaleev
62c0587b6a
Use Alpine-based Coturn
4 年之前
Michael-GMH
50d7209c5b
GMH v04.3
4 年之前
Dan Arnfield
29177d4922
Switch to official coturn docker image
4 年之前
Slavi Pantaleev
fcb9e9618a
Make Coturn TLSv1/v1.1 configurable
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/999
5 年之前
Michael-GMH
89cb5a3d7a
GMH v0.4.2 update
5 年之前
Ahmad Haghighi
e335f3fc77
rename matrix_global_registry to matrix_container_global_registry_prefix related to #990
Signed-off-by: Ahmad Haghighi <haghighi@fedoraproject.org>
5 年之前
Ahmad Haghighi
f52a8b6484
use custom docker registry
5 年之前
Michael
33ec5710d9
0.2.1 revision
5 年之前
rakshazi
2f887f292c
added "matrix_%SERVICE%_version" variable to all roles, use it in "matrix_%SERVICE%_docker_image" var (preserving backward-compatibility)
5 年之前
Slavi Pantaleev
c1008fde44
Upgrade matrix-coturn (4.5.1.3 -> 4.5.2)
5 年之前
Slavi Pantaleev
be5263f397
Move self-building git repository URLs to variables (stop hardcoding)
5 年之前
Slavi Pantaleev
5eed874199
Improve self-building experience (avoid conflict with pullable images)
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/716
This patch makes us use more fully-qualified container image names
(either prefixed with docker.io/ or with localhost/).
The latter happens when self-building is enabled.
We've recently had issues where if an image was removed manually
and the service was restarted (making `docker run` fetch it from Docker Hub, etc.),
we'd end up with a pulled image, even though we're aiming for a self-built one.
Re-running the playbook would then not do a rebuild, because:
- the image with that name already exists (even though it's something
else)
- we sometimes had conditional logic where we'd build only if the git
repo changed
By explicitly changing the name of the images (prefixing with localhost/),
we avoid such confusion and the possibility that we'd automatically pul something
which is not what we expect.
Also, I've removed that condition where building would happen on git
changes only. We now always build (unless an image with that name
already exists). We just force-build when the git repo changes.
5 年之前