Matrix Docker Ansible eploy
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 

74 行
4.3 KiB

  1. # SPDX-FileCopyrightText: 2024 - 2025 Slavi Pantaleev
  2. # SPDX-FileCopyrightText: 2024 - 2025 Suguru Hirahara
  3. #
  4. # SPDX-License-Identifier: AGPL-3.0-or-later
  5. ---
  6. # E2EE aware proxy daemon for Matrix clients.
  7. # Project source code URL: https://github.com/matrix-org/pantalaimon
  8. matrix_pantalaimon_enabled: true
  9. matrix_pantalaimon_version: "0.10.5"
  10. matrix_pantalaimon_container_image_self_build: false
  11. matrix_pantalaimon_container_image_self_build_repo: "https://github.com/matrix-org/pantalaimon.git"
  12. matrix_pantalaimon_container_image_self_build_repo_version: "{{ 'main' if matrix_pantalaimon_version == 'latest' else matrix_pantalaimon_version }}"
  13. matrix_pantalaimon_container_image: "{{ matrix_pantalaimon_container_image_registry_prefix }}matrixdotorg/pantalaimon:v{{ matrix_pantalaimon_version }}"
  14. matrix_pantalaimon_container_image_registry_prefix: "{{ 'localhost/' if matrix_pantalaimon_container_image_self_build else matrix_pantalaimon_container_image_registry_prefix_upstream }}"
  15. matrix_pantalaimon_container_image_registry_prefix_upstream: "{{ matrix_pantalaimon_container_image_registry_prefix_upstream_default }}"
  16. matrix_pantalaimon_container_image_registry_prefix_upstream_default: "docker.io/"
  17. matrix_pantalaimon_base_path: "{{ matrix_base_data_path }}/pantalaimon"
  18. matrix_pantalaimon_data_path: "{{ matrix_pantalaimon_base_path }}/data"
  19. matrix_pantalaimon_container_src_files_path: "{{ matrix_pantalaimon_base_path }}/container-src"
  20. # The base container network
  21. matrix_pantalaimon_container_network: ''
  22. # A list of additional container networks that the container would be connected to.
  23. # The role does not create these networks, so make sure they already exist.
  24. matrix_pantalaimon_container_additional_networks: "{{ matrix_pantalaimon_container_additional_networks_auto + matrix_pantalaimon_container_additional_networks_custom }}"
  25. matrix_pantalaimon_container_additional_networks_auto: []
  26. matrix_pantalaimon_container_additional_networks_custom: []
  27. # A list of extra arguments to pass to the container
  28. matrix_pantalaimon_container_extra_arguments: []
  29. # List of systemd services that matrix-pantalaimon.service depends on
  30. matrix_pantalaimon_systemd_required_services_list: "{{ matrix_pantalaimon_systemd_required_services_list_default + matrix_pantalaimon_systemd_required_services_list_auto + matrix_pantalaimon_systemd_required_services_list_custom }}"
  31. matrix_pantalaimon_systemd_required_services_list_default: "{{ [devture_systemd_docker_base_docker_service_name] if devture_systemd_docker_base_docker_service_name else [] }}"
  32. matrix_pantalaimon_systemd_required_services_list_auto: []
  33. matrix_pantalaimon_systemd_required_services_list_custom: []
  34. # List of systemd services that matrix-pantalaimon.service wants
  35. matrix_pantalaimon_systemd_wanted_services_list: "{{ matrix_pantalaimon_systemd_wanted_services_list_default + matrix_pantalaimon_systemd_wanted_services_list_auto + matrix_pantalaimon_systemd_wanted_services_list_custom }}"
  36. matrix_pantalaimon_systemd_wanted_services_list_default: []
  37. matrix_pantalaimon_systemd_wanted_services_list_auto: []
  38. matrix_pantalaimon_systemd_wanted_services_list_custom: []
  39. # Valid values: Error, Warning, Info, Debug
  40. matrix_pantalaimon_log_level: Warning
  41. # Base URL where matrix-pantalaimon can reach your homeserver C-S API.
  42. # If the homeserver runs on the same machine, you may need to add its service to `matrix_pantalaimon_systemd_required_services_list`.
  43. matrix_pantalaimon_homeserver_url: ""
  44. # Default configuration template which covers the generic use case.
  45. # You can customize it by controlling the various variables inside it.
  46. #
  47. # For a more advanced customization, you can
  48. # completely replace this variable with your own template.
  49. matrix_pantalaimon_configuration: "{{ lookup('template', 'templates/pantalaimon.conf.j2') }}"
  50. # matrix_pantalaimon_restart_necessary controls whether the service
  51. # will be restarted (when true) or merely started (when false) by the
  52. # systemd service manager role (when conditional restart is enabled).
  53. #
  54. # This value is automatically computed during installation based on whether
  55. # any configuration files, the systemd service file, or the container image changed.
  56. # The default of `false` means "no restart needed" — appropriate when the role's
  57. # installation tasks haven't run (e.g., due to --tags skipping them).
  58. matrix_pantalaimon_restart_necessary: false