Matrix Docker Ansible eploy
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
 
 

75 rader
3.6 KiB

  1. matrix_coturn_enabled: true
  2. matrix_coturn_container_image_self_build: false
  3. matrix_coturn_container_image_self_build_repo: "https://github.com/instrumentisto/coturn-docker-image.git"
  4. matrix_coturn_docker_image: "{{ matrix_coturn_docker_image_name_prefix }}instrumentisto/coturn:4.5.1.3"
  5. matrix_coturn_docker_image_name_prefix: "{{ 'localhost/' if matrix_coturn_container_image_self_build else 'docker.io/' }}"
  6. matrix_coturn_docker_image_force_pull: "{{ matrix_coturn_docker_image.endswith(':latest') }}"
  7. # The Docker network that Coturn would be put into.
  8. #
  9. # Because Coturn relays traffic to unvalidated IP addresses,
  10. # using a dedicated network, isolated from other Docker (and local) services is preferrable.
  11. #
  12. # Setting up deny/allow rules with `matrix_coturn_allowed_peer_ips`/`matrix_coturn_denied_peer_ips` is also
  13. # possible for achieving such isolation, but is more complicated due to the dynamic nature of Docker networking.
  14. matrix_coturn_docker_network: "matrix-coturn"
  15. matrix_coturn_base_path: "{{ matrix_base_data_path }}/coturn"
  16. matrix_coturn_docker_src_files_path: "{{ matrix_coturn_base_path }}/docker-src"
  17. matrix_coturn_config_path: "{{ matrix_coturn_base_path }}/turnserver.conf"
  18. # List of systemd services that matrix-coturn.service depends on
  19. matrix_coturn_systemd_required_services_list: ['docker.service']
  20. # A list of additional "volumes" to mount in the container.
  21. # This list gets populated dynamically at runtime. You can provide a different default value,
  22. # if you wish to mount your own files into the container.
  23. # Contains definition objects like this: `{"src": "/outside", "dst": "/inside", "options": "rw|ro|slave|.."}
  24. matrix_coturn_container_additional_volumes: []
  25. # A list of extra arguments to pass to the container
  26. matrix_coturn_container_extra_arguments: []
  27. # Controls whether the Coturn container exposes its plain STUN port (tcp/3478 and udp/3478 in the container).
  28. #
  29. # Takes an "<ip>:<port>" or "<port>" value (e.g. "127.0.0.1:3478"), or empty string to not expose.
  30. matrix_coturn_container_stun_plain_host_bind_port: '3478'
  31. # Controls whether the Coturn container exposes its TLS STUN port (tcp/5349 and udp/5349 in the container).
  32. #
  33. # Takes an "<ip>:<port>" or "<port>" value (e.g. "127.0.0.1:5349"), or empty string to not expose.
  34. matrix_coturn_container_stun_tls_host_bind_port: '5349'
  35. # Controls whether the Coturn container exposes its TURN UDP port range and which interface to do it on.
  36. #
  37. # Takes an interface "<ip address>" (e.g. "127.0.0.1"), or empty string to listen on all interfaces.
  38. # Takes a null/none value (`~`) to prevent listening.
  39. #
  40. # The UDP port-range itself is specified using `matrix_coturn_turn_udp_min_port` and `matrix_coturn_turn_udp_max_port`.
  41. matrix_coturn_container_turn_range_listen_interface: ''
  42. # UDP port-range to use for TURN
  43. matrix_coturn_turn_udp_min_port: 49152
  44. matrix_coturn_turn_udp_max_port: 49172
  45. # A shared secret (between Synapse and Coturn) used for authentication.
  46. # You can put any string here, but generating a strong one is preferred (e.g. `pwgen -s 64 1`).
  47. matrix_coturn_turn_static_auth_secret: ""
  48. # The external IP address of the machine where Coturn is.
  49. matrix_coturn_turn_external_ip_address: ''
  50. matrix_coturn_allowed_peer_ips: []
  51. matrix_coturn_denied_peer_ips: []
  52. matrix_coturn_user_quota: null
  53. matrix_coturn_total_quota: null
  54. # To enable TLS, you need to provide paths to certificates.
  55. # Paths defined in `matrix_coturn_tls_cert_path` and `matrix_coturn_tls_key_path` are in-container paths.
  56. # Files on the host can be mounted into the container using `matrix_coturn_container_additional_volumes`.
  57. matrix_coturn_tls_enabled: false
  58. matrix_coturn_tls_cert_path: ~
  59. matrix_coturn_tls_key_path: ~