Matrix Docker Ansible eploy
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

19 lines
549 B

  1. config.defaultLanguage = {{ matrix_jitsi_web_config_defaultLanguage|to_json }};
  2. if (!config.hasOwnProperty('p2p')) config.p2p = {% raw %}{}{% endraw %};
  3. {% if matrix_jitsi_web_stun_servers|length > 0 %}
  4. config.p2p.stunServers = [
  5. {% for url in matrix_jitsi_web_stun_servers %}
  6. { urls: {{ url|to_json }} }{% if not loop.last %},{% endif %}
  7. {% endfor %}
  8. ];
  9. {% endif %}
  10. {% if matrix_jitsi_etherpad_enabled %}
  11. config.etherpad_base = {{ (matrix_jitsi_etherpad_base + '/p/') |to_json }}
  12. {% endif %}
  13. {{ matrix_jitsi_web_custom_config_extension }}