Matrix Docker Ansible eploy
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。
 
 

75 行
4.4 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_container_image_force_pull: "{{ matrix_pantalaimon_container_image.endswith(':latest') }}"
  18. matrix_pantalaimon_base_path: "{{ matrix_base_data_path }}/pantalaimon"
  19. matrix_pantalaimon_data_path: "{{ matrix_pantalaimon_base_path }}/data"
  20. matrix_pantalaimon_container_src_files_path: "{{ matrix_pantalaimon_base_path }}/container-src"
  21. # The base container network
  22. matrix_pantalaimon_container_network: ''
  23. # A list of additional container networks that the container would be connected to.
  24. # The role does not create these networks, so make sure they already exist.
  25. matrix_pantalaimon_container_additional_networks: "{{ matrix_pantalaimon_container_additional_networks_auto + matrix_pantalaimon_container_additional_networks_custom }}"
  26. matrix_pantalaimon_container_additional_networks_auto: []
  27. matrix_pantalaimon_container_additional_networks_custom: []
  28. # A list of extra arguments to pass to the container
  29. matrix_pantalaimon_container_extra_arguments: []
  30. # List of systemd services that matrix-pantalaimon.service depends on
  31. 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 }}"
  32. matrix_pantalaimon_systemd_required_services_list_default: "{{ [devture_systemd_docker_base_docker_service_name] if devture_systemd_docker_base_docker_service_name else [] }}"
  33. matrix_pantalaimon_systemd_required_services_list_auto: []
  34. matrix_pantalaimon_systemd_required_services_list_custom: []
  35. # List of systemd services that matrix-pantalaimon.service wants
  36. 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 }}"
  37. matrix_pantalaimon_systemd_wanted_services_list_default: []
  38. matrix_pantalaimon_systemd_wanted_services_list_auto: []
  39. matrix_pantalaimon_systemd_wanted_services_list_custom: []
  40. # Valid values: Error, Warning, Info, Debug
  41. matrix_pantalaimon_log_level: Warning
  42. # Base URL where matrix-pantalaimon can reach your homeserver C-S API.
  43. # If the homeserver runs on the same machine, you may need to add its service to `matrix_pantalaimon_systemd_required_services_list`.
  44. matrix_pantalaimon_homeserver_url: ""
  45. # Default configuration template which covers the generic use case.
  46. # You can customize it by controlling the various variables inside it.
  47. #
  48. # For a more advanced customization, you can
  49. # completely replace this variable with your own template.
  50. matrix_pantalaimon_configuration: "{{ lookup('template', 'templates/pantalaimon.conf.j2') }}"
  51. # matrix_pantalaimon_restart_necessary controls whether the service
  52. # will be restarted (when true) or merely started (when false) by the
  53. # systemd service manager role (when conditional restart is enabled).
  54. #
  55. # This value is automatically computed during installation based on whether
  56. # any configuration files, the systemd service file, or the container image changed.
  57. # The default of `false` means "no restart needed" — appropriate when the role's
  58. # installation tasks haven't run (e.g., due to --tags skipping them).
  59. matrix_pantalaimon_restart_necessary: false