Matrix Docker Ansible eploy
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
 
 

220 řádky
12 KiB

  1. # SPDX-FileCopyrightText: 2022 MDAD project contributors
  2. # SPDX-FileCopyrightText: 2024 wjbeckett
  3. # SPDX-FileCopyrightText: 2024 - 2025 Slavi Pantaleev
  4. #
  5. # SPDX-License-Identifier: AGPL-3.0-or-later
  6. ---
  7. # Project source code URL: https://github.com/livekit/livekit
  8. livekit_server_enabled: false
  9. livekit_server_identifier: livekit-server
  10. livekit_server_uid: ''
  11. livekit_server_gid: ''
  12. livekit_server_base_path: "/{{ livekit_server_identifier }}"
  13. livekit_server_config_path: "{{ livekit_server_base_path }}/config"
  14. # renovate: datasource=docker depName=docker.io/livekit/livekit-server
  15. livekit_server_version: v1.8.4
  16. livekit_server_scheme: https
  17. livekit_server_hostname: ""
  18. livekit_server_path_prefix: /
  19. livekit_server_container_network: "{{ livekit_server_identifier }}"
  20. livekit_server_container_additional_networks: "{{ livekit_server_container_additional_networks_auto + livekit_server_container_additional_networks_custom }}"
  21. livekit_server_container_additional_networks_auto: []
  22. livekit_server_container_additional_networks_custom: []
  23. # Controls whether the LiveKit Server container exposes its RCT TCP port (`livekit_server_config_rtc_tcp_port`)
  24. #
  25. # Takes an "<ip>:<port>" or "<port>" value (e.g. "127.0.0.1:5349"), or empty string to not expose.
  26. livekit_server_container_rtc_tcp_host_bind_port: "{{ livekit_server_config_rtc_tcp_port if livekit_server_container_network != 'host' else '' }}"
  27. # Controls whether the LiveKit Server container exposes its RTC UDP port range and which interface to do it on.
  28. #
  29. # Takes an interface "<ip address>" (e.g. "127.0.0.1"), or empty string to listen on all interfaces.
  30. # Takes a null/none value (`~`) or 'none' (as a string) to prevent listening.
  31. #
  32. # The UDP port-range itself is specified using `livekit_server_config_rtc_port_range_start` and `livekit_server_config_rtc_port_range_end`.
  33. livekit_server_container_rtc_range_listen_interface: "{{ '' if livekit_server_container_network != 'host' else 'none' }}"
  34. livekit_server_container_image_self_build: false
  35. livekit_server_container_repo: "https://github.com/livekit/livekit.git"
  36. livekit_server_container_repo_version: "{{ 'main' if livekit_server_version == 'latest' else livekit_server_version }}"
  37. livekit_server_container_src_files_path: "{{ livekit_server_base_path }}/container-src"
  38. livekit_server_container_image: "{{ livekit_server_container_image_registry_prefix }}livekit/livekit-server:{{ livekit_server_version }}"
  39. livekit_server_container_image_registry_prefix: "{{ 'localhost/' if livekit_server_container_image_self_build else livekit_server_container_image_registry_prefix_upstream }}"
  40. livekit_server_container_image_registry_prefix_upstream: "{{ livekit_server_container_image_registry_prefix_upstream_default }}"
  41. livekit_server_container_image_registry_prefix_upstream_default: docker.io/
  42. livekit_server_container_image_force_pull: "{{ livekit_server_container_image.endswith(':latest') }}"
  43. livekit_server_container_labels_traefik_enabled: true
  44. livekit_server_container_labels_traefik_docker_network: "{{ livekit_server_container_network }}"
  45. livekit_server_container_labels_traefik_hostname: "{{ livekit_server_hostname }}"
  46. # The path prefix must either be `/` or not end with a slash (e.g. `/element`).
  47. livekit_server_container_labels_traefik_path_prefix: "{{ livekit_server_path_prefix }}"
  48. 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 %}"
  49. livekit_server_container_labels_traefik_priority: 0
  50. livekit_server_container_labels_traefik_entrypoints: web-secure
  51. livekit_server_container_labels_traefik_tls: "{{ livekit_server_container_labels_traefik_entrypoints != 'web' }}"
  52. livekit_server_container_labels_traefik_tls_certResolver: default # noqa var-naming
  53. # Controls which additional headers to attach to all HTTP responses.
  54. # To add your own headers, use `livekit_server_container_labels_traefik_additional_response_headers_custom`
  55. 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) }}"
  56. livekit_server_container_labels_traefik_additional_response_headers_auto: |
  57. {{
  58. {}
  59. | combine ({'X-XSS-Protection': livekit_server_http_header_xss_protection} if livekit_server_http_header_xss_protection else {})
  60. | combine ({'X-Frame-Options': livekit_server_http_header_frame_options} if livekit_server_http_header_frame_options else {})
  61. | combine ({'X-Content-Type-Options': livekit_server_http_header_content_type_options} if livekit_server_http_header_content_type_options else {})
  62. | combine ({'Content-Security-Policy': livekit_server_http_header_content_security_policy} if livekit_server_http_header_content_security_policy else {})
  63. | combine ({'Permission-Policy': livekit_server_http_header_content_permission_policy} if livekit_server_http_header_content_permission_policy else {})
  64. | 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 {})
  65. }}
  66. livekit_server_container_labels_traefik_additional_response_headers_custom: {}
  67. # livekit_server_container_labels_additional_labels contains a multiline string with additional labels to add to the container label file.
  68. # See `../templates/labels.j2` for details.
  69. #
  70. # Example:
  71. # livekit_server_container_labels_additional_labels: |
  72. # my.label=1
  73. # another.label="here"
  74. livekit_server_container_labels_additional_labels: ''
  75. # A list of extra arguments to pass to the container
  76. livekit_server_container_extra_arguments: []
  77. # Additional environment variables for the container
  78. livekit_server_environment_variables_additional: {}
  79. # List of systemd services that LiveKit Server service depends on
  80. livekit_server_systemd_required_services_list: "{{ livekit_server_systemd_required_services_list_default + livekit_server_systemd_required_services_list_auto + livekit_server_systemd_required_services_list_custom }}"
  81. livekit_server_systemd_required_services_list_default: "{{ [devture_systemd_docker_base_docker_service_name] if devture_systemd_docker_base_docker_service_name else [] }}"
  82. livekit_server_systemd_required_services_list_auto: []
  83. livekit_server_systemd_required_services_list_custom: []
  84. # Specifies the value of the `X-XSS-Protection` header
  85. # Stops pages from loading when they detect reflected cross-site scripting (XSS) attacks.
  86. #
  87. # Learn more about it is here:
  88. # - https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-XSS-Protection
  89. # - https://portswigger.net/web-security/cross-site-scripting/reflected
  90. livekit_server_http_header_xss_protection: ''
  91. # Specifies the value of the `X-Frame-Options` header which controls whether framing can happen.
  92. # See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Frame-Options
  93. livekit_server_http_header_frame_options: ''
  94. # Specifies the value of the `X-Content-Type-Options` header.
  95. # See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Content-Type-Options
  96. livekit_server_http_header_content_type_options: ''
  97. # Specifies the value of the `Content-Security-Policy` header.
  98. # See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy
  99. livekit_server_http_header_content_security_policy: ''
  100. # Specifies the value of the `Permission-Policy` header.
  101. # See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Permission-Policy
  102. livekit_server_http_header_content_permission_policy: ''
  103. # Specifies the value of the `Strict-Transport-Security` header.
  104. # See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Strict-Transport-Security
  105. livekit_server_http_header_strict_transport_security: ''
  106. # Controls whether to send a "Permissions-Policy interest-cohort=();" header along with all responses
  107. #
  108. # Learn more about what it is here:
  109. # - https://www.eff.org/deeplinks/2021/03/googles-floc-terrible-idea
  110. # - https://paramdeo.com/blog/opting-your-website-out-of-googles-floc-network
  111. # - https://amifloced.org/
  112. #
  113. # Of course, a better solution is to just stop using browsers (like Chrome), which participate in such tracking practices.
  114. # See: `livekit_server_content_permission_policy`
  115. livekit_server_floc_optout_enabled: false
  116. # Controls if HSTS preloading is enabled
  117. #
  118. # In its strongest and recommended form, the [HSTS policy](https://www.chromium.org/hsts) includes all subdomains, and
  119. # indicates a willingness to be "preloaded" into browsers:
  120. # `Strict-Transport-Security: max-age=31536000; includeSubDomains; preload`
  121. # For more information visit:
  122. # - https://en.wikipedia.org/wiki/HTTP_Strict_Transport_Security
  123. # - https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Strict-Transport-Security
  124. # - https://hstspreload.org/#opt-in
  125. # See: `livekit_server_http_header_strict_transport_security`
  126. livekit_server_hsts_preload_enabled: true
  127. # Holds the final LiveKit Server configuration (a combination of the default and its extension).
  128. # You most likely don't need to touch this variable. Instead, see `livekit_server_configuration_yaml` or `livekit_server_configuration_extension_yaml`.
  129. livekit_server_configuration: "{{ livekit_server_configuration_yaml | from_yaml | combine(livekit_server_configuration_extension, recursive=True) }}"
  130. # Default LiveKit Server configuration template which covers the generic use case.
  131. # You can customize it by controlling the various variables inside it.
  132. #
  133. # For a more advanced customization, you can extend the default (see `livekit_server_configuration_extension_yaml`)
  134. # or completely replace this variable with your own template.
  135. livekit_server_configuration_yaml: "{{ lookup('template', 'templates/config.yaml.j2') }}"
  136. livekit_server_configuration_extension_yaml: |
  137. # Your custom YAML configuration for LiveKit Server goes here.
  138. # This configuration extends the default starting configuration (`livekit_server_configuration_yaml`).
  139. #
  140. # You can override individual variables from the default configuration, or introduce new ones.
  141. #
  142. # If you need something more special, you can take full control by
  143. # completely redefining `livekit_server_configuration_yaml`.
  144. #
  145. # Example configuration extension follows:
  146. #
  147. # logging:
  148. # level: debug
  149. livekit_server_configuration_extension: "{{ livekit_server_configuration_extension_yaml | from_yaml if livekit_server_configuration_extension_yaml | from_yaml is mapping else {} }}"
  150. # Controls the `port` configuration property.
  151. livekit_server_config_port: 7880
  152. # Controls the `rtc.tcp_port` configuration property
  153. livekit_server_config_rtc_tcp_port: 7881
  154. # Controls the `rtc.port_range_start` configuration property
  155. livekit_server_config_rtc_port_range_start: 50100
  156. # Controls the `rtc.port_range_end` configuration property
  157. livekit_server_config_rtc_port_range_end: 50120
  158. # Controls the `rtc.use_external_ip` configuration property.
  159. # When set to true, attempts to discover the host's public IP via STUN.
  160. # This is useful for cloud environments such as AWS & Google where hosts have an internal IP that maps to an external one.
  161. livekit_server_config_rtc_use_external_ip: true
  162. # Controls the `keys` configuration property.
  163. livekit_server_config_keys: "{{ livekit_server_config_keys_auto | combine(livekit_server_config_keys_custom, recursive=True) }}"
  164. livekit_server_config_keys_auto: {}
  165. livekit_server_config_keys_custom: {}
  166. # Controls the `logging.level` configuration property.
  167. # Known values: debug, info, warn, error
  168. livekit_server_config_logging_level: info
  169. # Controls the `logging.pion_level` configuration property
  170. livekit_server_config_logging_pion_level: error
  171. # Controls the `logging.json` configuration property.
  172. # When set to true, emits json fields.
  173. livekit_server_config_logging_json: false
  174. # Controls the `logging.sample` configuration property.
  175. # For production setups, enables sampling algorithm.
  176. # See: https://github.com/uber-go/zap/blob/master/FAQ.md#why-sample-application-logs
  177. livekit_server_config_logging_sample: false