1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/jitsi_ynh.git synced 2024-09-03 19:35:57 +02:00
jitsi_ynh/conf/metronome.cfg.lua

92 lines
2.9 KiB
Lua
Raw Normal View History

2019-07-14 01:17:46 +02:00
component_ports = { __PORT_COMPONENT__ }
2020-04-14 02:12:12 +02:00
c2s_require_encryption = false
s2s_secure_auth = false
2020-04-13 17:16:38 +02:00
2020-04-10 05:21:33 +02:00
plugin_paths = { "__FINAL_PATH__/jitsi-meet-prosody/" }
2020-04-11 21:55:05 +02:00
-- domain mapper options, must at least have domain base set to use the mapper
2020-04-10 05:21:33 +02:00
muc_mapper_domain_base = "__DOMAIN__";
2020-04-11 21:55:05 +02:00
2020-04-10 05:21:33 +02:00
turncredentials_secret = "__TURN_SECRET__";
2020-04-11 21:55:05 +02:00
2020-04-10 05:21:33 +02:00
turncredentials = {
{ type = "stun", host = "__DOMAIN__", port = "443" },
{ type = "turn", host = "__DOMAIN__", port = "443", transport = "udp" },
{ type = "turns", host = "__DOMAIN__", port = "443", transport = "tcp" }
};
cross_domain_bosh = false;
consider_bosh_secure = true;
2019-06-06 06:04:22 +02:00
VirtualHost "__DOMAIN__"
-- enabled = false -- Remove this line to enable this host
authentication = "anonymous"
2020-04-11 21:55:05 +02:00
-- Properties below are modified by jitsi-meet-tokens package config
-- and authentication above is switched to "token"
--app_id="example_app_id"
--app_secret="example_app_secret"
2019-06-06 06:04:22 +02:00
-- Assign this host a certificate for TLS, otherwise it would use the one
-- set in the global section (if any).
-- Note that old-style SSL on port 5223 only supports one certificate, and will always
-- use the global one.
ssl = {
key = "/etc/yunohost/certs/__DOMAIN__/key.pem";
certificate = "/etc/yunohost/certs/__DOMAIN__/crt.pem";
}
2020-04-10 05:21:33 +02:00
speakerstats_component = "speakerstats.__DOMAIN__"
conference_duration_component = "conferenceduration.__DOMAIN__"
-- we need bosh
modules_enabled = {
"bosh";
"pubsub";
"ping"; -- Enable mod_ping
"speakerstats";
"turncredentials";
"conference_duration";
}
c2s_require_encryption = false
2020-04-11 21:55:05 +02:00
Component "conference.__DOMAIN__" "muc"
storage = "null"
modules_enabled = {
"muc_meeting_id";
-- "muc_domain_mapper";
-- "token_verification";
}
admins = { "__FOCUS_USER__@auth.__DOMAIN__" }
muc_room_locking = false
muc_room_default_public_jids = true
-- internal muc component
2020-04-10 05:21:33 +02:00
Component "internal.auth.__DOMAIN__" "muc"
storage = "null"
modules_enabled = {
"ping";
}
2020-04-13 17:16:38 +02:00
admins = { "__FOCUS_USER__@auth.__DOMAIN__", "__VIDEOBRIDGE_USER__@auth.__DOMAIN__" }
2019-06-06 06:04:22 +02:00
VirtualHost "auth.__DOMAIN__"
ssl = {
key = "/etc/yunohost/certs/auth.__DOMAIN__/key.pem";
certificate = "/etc/yunohost/certs/auth.__DOMAIN__/crt.pem";
}
2019-07-14 01:17:46 +02:00
authentication = "ldap2"
ldap = {
hostname = "localhost",
user = {
basedn = "ou=users,dc=yunohost,dc=org",
2020-04-13 21:08:04 +02:00
filter = "(&(objectClass=posixAccount)(mail=*@auth.__DOMAIN__)(permission=cn=xmpp.main,ou=permission,dc=yunohost,dc=org))",
2019-07-14 01:17:46 +02:00
usernamefield = "mail",
namefield = "cn",
},
}
2019-06-06 06:04:22 +02:00
Component "focus.__DOMAIN__"
component_secret = "__FOCUS_SECRET__"
2020-04-10 05:21:33 +02:00
Component "speakerstats.__DOMAIN__" "speakerstats_component"
muc_component = "conference.__DOMAIN__"
Component "conferenceduration.__DOMAIN__" "conference_duration_component"
2020-04-11 21:55:05 +02:00
muc_component = "conference.__DOMAIN__"