Set up coturn, switch from ejabberd in production

https://github.com/coturn/coturn
This commit is contained in:
2023-12-17 15:20:11 +01:00
parent 6e3fb80565
commit 1576a8e731
8 changed files with 758 additions and 15 deletions

View File

@@ -183,7 +183,7 @@ template "/opt/ejabberd/conf/ejabberd.yml" do
sensitive true
variables hosts: hosts,
admin_users: admin_users,
stun_auth_realm: "kosmos.org",
stun_auth_realm: node["ejabberd"]["stun_auth_realm"],
stun_secret: ejabberd_credentials['stun_secret'],
turn_ip_address: node["ejabberd"]["turn_ip_address"],
stun_turn_port: node["ejabberd"]["stun_turn_port"],