Matrix Docker Ansible eploy
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

57 строки
1.3 KiB

  1. #jinja2: lstrip_blocks: "True"
  2. use-auth-secret
  3. static-auth-secret={{ matrix_coturn_turn_static_auth_secret }}
  4. realm=turn.{{ matrix_server_fqn_matrix }}
  5. min-port={{ matrix_coturn_turn_udp_min_port }}
  6. max-port={{ matrix_coturn_turn_udp_max_port }}
  7. {% for ip in matrix_coturn_turn_external_ip_addresses|select('ne', '') %}
  8. external-ip={{ ip }}
  9. {% endfor %}
  10. log-file=stdout
  11. pidfile=/var/tmp/turnserver.pid
  12. userdb=/var/tmp/turnserver.db
  13. no-cli
  14. {% if matrix_coturn_tls_enabled %}
  15. cert={{ matrix_coturn_tls_cert_path }}
  16. pkey={{ matrix_coturn_tls_key_path }}
  17. {% if not matrix_coturn_tls_v1_enabled %}
  18. no-tlsv1
  19. {% endif %}
  20. {% if not matrix_coturn_tls_v1_1_enabled %}
  21. no-tlsv1_1
  22. {% endif %}
  23. {% else %}
  24. no-tls
  25. no-dtls
  26. {% endif %}
  27. prod
  28. {% if matrix_coturn_no_tcp_relay_enabled %}
  29. no-tcp-relay
  30. {% endif %}
  31. {% if matrix_coturn_user_quota != None %}
  32. user-quota={{ matrix_coturn_user_quota }}
  33. {% endif %}
  34. {% if matrix_coturn_total_quota != None %}
  35. total-quota={{ matrix_coturn_total_quota }}
  36. {% endif %}
  37. {% if matrix_coturn_no_multicast_peers_enabled %}
  38. no-multicast-peers
  39. {% endif %}
  40. {% for ip_range in matrix_coturn_denied_peer_ips %}
  41. denied-peer-ip={{ ip_range }}
  42. {% endfor %}
  43. {% for ip_range in matrix_coturn_allowed_peer_ips %}
  44. allowed-peer-ip={{ ip_range }}
  45. {% endfor %}
  46. {{ matrix_coturn_additional_configuration }}