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ů.
 
 

128 řádky
7.1 KiB

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