Matrix Docker Ansible eploy
Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.
 
 

130 Zeilen
7.3 KiB

  1. ---
  2. # Project source code URL: https://github.com/livekit/livekit
  3. livekit_server_enabled: false
  4. # Base path configuration
  5. livekit_server_base_path: "{{ matrix_base_data_path }}/livekit-server"
  6. # renovate: datasource=docker depName=livekit/livekit-server
  7. livekit_server_version: v1.8.0
  8. # Docker network configuration
  9. livekit_server_container_network: ''
  10. livekit_server_container_http_host_bind_port: ''
  11. livekit_server_container_additional_networks: "{{ livekit_server_container_additional_networks_auto + livekit_server_container_additional_networks_custom }}"
  12. livekit_server_container_additional_networks_auto: []
  13. livekit_server_container_additional_networks_custom: []
  14. livekit_server_container_image_self_build: false
  15. livekit_server_container_repo: "https://github.com/livekit/livekit.git"
  16. livekit_server_container_repo_version: "{{ 'main' if livekit_server_version == 'latest' else livekit_server_version }}"
  17. livekit_server_container_src_files_path: "{{ livekit_server_base_path }}/container-src"
  18. livekit_server_container_image: "livekit/livekit-server:latest"
  19. livekit_server_container_image_name_prefix: "{{ 'localhost/' if livekit_server_container_image_self_build else 'docker.io/' }}"
  20. livekit_server_container_image_force_pull: "{{ livekit_server_container_image.endswith(':latest') }}"
  21. # LiveKit configuration
  22. livekit_server_livekit_server_dev_key: "{{ livekit_server_dev_key }}" # Must be defined in host_vars
  23. livekit_server_jwt_secret: "{{ matrix_element_call_jwt_secret }}" # Must be defined in host_vars
  24. livekit_server_hostname: "sfu.{{ matrix_domain }}"
  25. # Traefik Configuration for Element Call
  26. livekit_server_container_labels_traefik_enabled: true
  27. livekit_server_container_labels_traefik_docker_network: "{{ livekit_server_container_network }}"
  28. livekit_server_container_labels_traefik_hostname: "{{ livekit_server_hostname }}"
  29. # The path prefix must either be `/` or not end with a slash (e.g. `/element`).
  30. livekit_server_container_labels_traefik_path_prefix: "{{ livekit_server_path_prefix }}"
  31. livekit_server_container_labels_traefik_rule: "Host(`{{ livekit_server_container_labels_traefik_hostname }}`){% if livekit_server_container_labels_traefik_path_prefix != '/' %} && PathPrefix(`{{ livekit_server_container_labels_traefik_path_prefix }}`){% endif %}"
  32. livekit_server_container_labels_traefik_priority: 0
  33. livekit_server_container_labels_traefik_entrypoints: web-secure
  34. livekit_server_container_labels_traefik_tls: "{{ livekit_server_container_labels_traefik_entrypoints != 'web' }}"
  35. livekit_server_container_labels_traefik_tls_certResolver: default # noqa var-naming
  36. # Controls which additional headers to attach to all HTTP responses.
  37. # To add your own headers, use `livekit_server_container_labels_traefik_additional_response_headers_custom`
  38. livekit_server_container_labels_traefik_additional_response_headers: "{{ livekit_server_container_labels_traefik_additional_response_headers_auto | combine(livekit_server_container_labels_traefik_additional_response_headers_custom) }}"
  39. livekit_server_container_labels_traefik_additional_response_headers_auto: |
  40. {{
  41. {}
  42. | combine ({'X-XSS-Protection': livekit_server_http_header_xss_protection} if livekit_server_http_header_xss_protection else {})
  43. | combine ({'X-Frame-Options': livekit_server_http_header_frame_options} if livekit_server_http_header_frame_options else {})
  44. | combine ({'X-Content-Type-Options': livekit_server_http_header_content_type_options} if livekit_server_http_header_content_type_options else {})
  45. | combine ({'Content-Security-Policy': livekit_server_http_header_content_security_policy} if livekit_server_http_header_content_security_policy else {})
  46. | combine ({'Permission-Policy': livekit_server_http_header_content_permission_policy} if livekit_server_http_header_content_permission_policy else {})
  47. | combine ({'Strict-Transport-Security': livekit_server_http_header_strict_transport_security} if livekit_server_http_header_strict_transport_security and livekit_server_container_labels_traefik_tls else {})
  48. }}
  49. livekit_server_container_labels_traefik_additional_response_headers_custom: {}
  50. # matrix_client_element_container_labels_additional_labels contains a multiline string with additional labels to add to the container label file.
  51. # See `../templates/labels.j2` for details.
  52. #
  53. # Example:
  54. # matrix_client_element_container_labels_additional_labels: |
  55. # my.label=1
  56. # another.label="here"
  57. livekit_server_container_labels_additional_labels: ''
  58. # A list of extra arguments to pass to the container
  59. livekit_server_container_extra_arguments: []
  60. # Additional environment variables for the container
  61. livekit_server_environment_variables_additional: {}
  62. # List of systemd services that matrix-element-call.service depends on
  63. livekit_server_systemd_required_services_list: "{{ [devture_systemd_docker_base_docker_service_name] if devture_systemd_docker_base_docker_service_name else [] }}"
  64. # Specifies the value of the `X-XSS-Protection` header
  65. # Stops pages from loading when they detect reflected cross-site scripting (XSS) attacks.
  66. #
  67. # Learn more about it is here:
  68. # - https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-XSS-Protection
  69. # - https://portswigger.net/web-security/cross-site-scripting/reflected
  70. livekit_server_http_header_xss_protection: ''
  71. # Specifies the value of the `X-Frame-Options` header which controls whether framing can happen.
  72. # See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Frame-Options
  73. livekit_server_http_header_frame_options: ''
  74. # Specifies the value of the `X-Content-Type-Options` header.
  75. # See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Content-Type-Options
  76. livekit_server_http_header_content_type_options: ''
  77. # Specifies the value of the `Content-Security-Policy` header.
  78. # See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy
  79. livekit_server_http_header_content_security_policy: ''
  80. # Specifies the value of the `Permission-Policy` header.
  81. # See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Permission-Policy
  82. livekit_server_http_header_content_permission_policy: ''
  83. # Specifies the value of the `Strict-Transport-Security` header.
  84. # See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Strict-Transport-Security
  85. livekit_server_http_header_strict_transport_security: ''
  86. # Controls whether to send a "Permissions-Policy interest-cohort=();" header along with all responses
  87. #
  88. # Learn more about what it is here:
  89. # - https://www.eff.org/deeplinks/2021/03/googles-floc-terrible-idea
  90. # - https://paramdeo.com/blog/opting-your-website-out-of-googles-floc-network
  91. # - https://amifloced.org/
  92. #
  93. # Of course, a better solution is to just stop using browsers (like Chrome), which participate in such tracking practices.
  94. # See: `livekit_server_content_permission_policy`
  95. livekit_server_floc_optout_enabled: false
  96. # Controls if HSTS preloading is enabled
  97. #
  98. # In its strongest and recommended form, the [HSTS policy](https://www.chromium.org/hsts) includes all subdomains, and
  99. # indicates a willingness to be "preloaded" into browsers:
  100. # `Strict-Transport-Security: max-age=31536000; includeSubDomains; preload`
  101. # For more information visit:
  102. # - https://en.wikipedia.org/wiki/HTTP_Strict_Transport_Security
  103. # - https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Strict-Transport-Security
  104. # - https://hstspreload.org/#opt-in
  105. # See: `livekit_server_http_header_strict_transport_security`
  106. livekit_server_hsts_preload_enabled: true