Matrix Docker Ansible eploy
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
 
 

79 wiersze
1.8 KiB

  1. #jinja2: lstrip_blocks: True
  2. {% if matrix_coturn_authentication_method == 'auth-secret' %}
  3. use-auth-secret
  4. static-auth-secret={{ matrix_coturn_turn_static_auth_secret }}
  5. userdb=/var/tmp/turnserver.db
  6. {% endif %}
  7. {% if matrix_coturn_authentication_method == 'lt-cred-mech' %}
  8. lt-cred-mech
  9. user={{ matrix_coturn_lt_cred_mech_username }}:{{ matrix_coturn_lt_cred_mech_password }}
  10. {% endif %}
  11. realm={{ matrix_coturn_realm }}
  12. min-port={{ matrix_coturn_turn_udp_min_port }}
  13. max-port={{ matrix_coturn_turn_udp_max_port }}
  14. {% for ip in matrix_coturn_turn_external_ip_addresses %}
  15. external-ip={{ ip }}
  16. {% endfor %}
  17. log-file=stdout
  18. pidfile=/var/tmp/turnserver.pid
  19. no-cli
  20. {% if matrix_coturn_tls_enabled %}
  21. cert={{ matrix_coturn_tls_cert_path }}
  22. pkey={{ matrix_coturn_tls_key_path }}
  23. {% if not matrix_coturn_tls_v1_enabled %}
  24. no-tlsv1
  25. {% endif %}
  26. {% if not matrix_coturn_tls_v1_1_enabled %}
  27. no-tlsv1_1
  28. {% endif %}
  29. {% else %}
  30. no-tls
  31. no-dtls
  32. {% endif %}
  33. prod
  34. {% if matrix_coturn_no_tcp_relay_enabled %}
  35. no-tcp-relay
  36. {% endif %}
  37. {% if matrix_coturn_no_rfc5780_enabled %}
  38. no-rfc5780
  39. {% endif %}
  40. {% if matrix_coturn_no_stun_backward_compatibility_enabled %}
  41. no-stun-backward-compatibility
  42. {% endif %}
  43. {% if matrix_coturn_response_origin_only_with_rfc5780_enabled %}
  44. response-origin-only-with-rfc5780
  45. {% endif %}
  46. {% if matrix_coturn_user_quota != None %}
  47. user-quota={{ matrix_coturn_user_quota }}
  48. {% endif %}
  49. {% if matrix_coturn_total_quota != None %}
  50. total-quota={{ matrix_coturn_total_quota }}
  51. {% endif %}
  52. {% if matrix_coturn_no_multicast_peers_enabled %}
  53. no-multicast-peers
  54. {% endif %}
  55. {% for ip_range in matrix_coturn_denied_peer_ips %}
  56. denied-peer-ip={{ ip_range }}
  57. {% endfor %}
  58. {% for ip_range in matrix_coturn_allowed_peer_ips %}
  59. allowed-peer-ip={{ ip_range }}
  60. {% endfor %}
  61. {{ matrix_coturn_additional_configuration }}