Wire Conduit to advertise usage of the Coturn TURN server
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/3089
This commit is contained in:
		@@ -1,5 +1,6 @@
 | 
			
		||||
---
 | 
			
		||||
# Conduit is a simple, fast and reliable chat server powered by Matrix
 | 
			
		||||
# Project source code URL: https://gitlab.com/famedly/conduit
 | 
			
		||||
# See: https://conduit.rs
 | 
			
		||||
 | 
			
		||||
matrix_conduit_enabled: true
 | 
			
		||||
@@ -63,3 +64,10 @@ matrix_conduit_trusted_servers:
 | 
			
		||||
 | 
			
		||||
# How many requests Conduit sends to other servers at the same time
 | 
			
		||||
matrix_conduit_max_concurrent_requests: 100
 | 
			
		||||
 | 
			
		||||
# TURN integration.
 | 
			
		||||
# See: https://gitlab.com/famedly/conduit/-/blob/next/TURN.md
 | 
			
		||||
matrix_conduit_turn_uris: []
 | 
			
		||||
matrix_conduit_turn_secret: ''
 | 
			
		||||
matrix_conduit_turn_username: ''
 | 
			
		||||
matrix_conduit_turn_password: ''
 | 
			
		||||
 
 | 
			
		||||
@@ -53,3 +53,15 @@ log = "info,state_res=warn,rocket=off,_=off,sled=off"
 | 
			
		||||
 | 
			
		||||
address = "0.0.0.0"
 | 
			
		||||
 | 
			
		||||
turn_uris = {{ matrix_conduit_turn_uris | to_json }}
 | 
			
		||||
 | 
			
		||||
{% if matrix_conduit_turn_secret != '' %}
 | 
			
		||||
turn_secret = {{ matrix_conduit_turn_secret | to_json }}
 | 
			
		||||
{% endif %}
 | 
			
		||||
 | 
			
		||||
# If you have your TURN server configured to use a username and password
 | 
			
		||||
# you can provide these information too. In this case comment out `turn_secret above`!
 | 
			
		||||
{% if matrix_conduit_turn_username != '' or matrix_conduit_turn_password != '' %}
 | 
			
		||||
turn_username = {{ matrix_conduit_turn_username | to_json }}
 | 
			
		||||
turn_password = {{ matrix_conduit_turn_password | to_json }}
 | 
			
		||||
{% endif %}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user