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.
 
 

42 lines
970 B

  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. external-ip={{ matrix_coturn_turn_external_ip_address }}
  8. log-file=stdout
  9. pidfile=/var/tmp/turnserver.pid
  10. userdb=/var/tmp/turnserver.db
  11. no-cli
  12. {% if matrix_coturn_tls_enabled %}
  13. cert={{ matrix_coturn_tls_cert_path }}
  14. pkey={{ matrix_coturn_tls_key_path }}
  15. no-tlsv1
  16. no-tlsv1_1
  17. {% else %}
  18. no-tls
  19. no-dtls
  20. {% endif %}
  21. prod
  22. no-tcp-relay
  23. {% if matrix_coturn_user_quota != None %}
  24. user-quota={{ matrix_coturn_user_quota }}
  25. {% endif %}
  26. {% if matrix_coturn_total_quota != None %}
  27. total-quota={{ matrix_coturn_total_quota }}
  28. {% endif %}
  29. {% for ip_range in matrix_coturn_denied_peer_ips %}
  30. denied-peer-ip={{ ip_range }}
  31. {% endfor %}
  32. {% for ip_range in matrix_coturn_allowed_peer_ips %}
  33. allowed-peer-ip={{ ip_range }}
  34. {% endfor %}