Matrix Docker Ansible eploy
No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.
 
 

69 líneas
3.7 KiB

  1. # SPDX-FileCopyrightText: 2022 - 2023 Julian-Samuel Gebühr
  2. # SPDX-FileCopyrightText: 2022 - 2025 Slavi Pantaleev
  3. # SPDX-FileCopyrightText: 2023 Samuel Meenzen
  4. #
  5. # SPDX-License-Identifier: AGPL-3.0-or-later
  6. ---
  7. # Cactus Comments is a federated comment system built on Matrix.
  8. # This role installs the backend appservice.
  9. # Project source code URL: https://gitlab.com/cactus-comments/cactus-appservice
  10. matrix_cactus_comments_enabled: true
  11. matrix_cactus_comments_container_image_self_build: false
  12. matrix_cactus_comments_docker_repo: "https://gitlab.com/cactus-comments/cactus-appservice.git"
  13. matrix_cactus_comments_docker_repo_version: "{{ matrix_cactus_comments_version if matrix_cactus_comments_version != 'latest' else 'main' }}"
  14. matrix_cactus_comments_docker_src_files_path: "{{ matrix_cactus_comments_base_path }}/docker-src"
  15. matrix_cactus_comments_base_path: "{{ matrix_base_data_path }}/cactus-comments"
  16. matrix_cactus_comments_container_tmp_path: "{{ matrix_cactus_comments_base_path }}/tmp"
  17. matrix_cactus_comments_app_service_config_file: "{{ matrix_cactus_comments_base_path }}/cactus_appservice.yaml"
  18. matrix_cactus_comments_app_service_env_file: "{{ matrix_cactus_comments_base_path }}/cactus.env"
  19. matrix_cactus_comments_as_token: ''
  20. matrix_cactus_comments_hs_token: ''
  21. matrix_cactus_comments_homeserver_url: ''
  22. matrix_cactus_comments_user_id: "bot.cactusbot"
  23. matrix_cactus_comments_tmp_directory_size_mb: 1
  24. matrix_cactus_comments_container_port: 5000
  25. # renovate: datasource=docker depName=cactuscomments/cactus-appservice
  26. matrix_cactus_comments_version: 0.9.0
  27. matrix_cactus_comments_docker_image: "{{ matrix_cactus_comments_docker_image_registry_prefix }}cactuscomments/cactus-appservice:{{ matrix_cactus_comments_docker_image_tag }}"
  28. matrix_cactus_comments_docker_image_registry_prefix: "{{ 'localhost/' if matrix_cactus_comments_container_image_self_build else matrix_cactus_comments_docker_image_registry_prefix_upstream }}"
  29. matrix_cactus_comments_docker_image_registry_prefix_upstream: "{{ matrix_cactus_comments_docker_image_registry_prefix_upstream_default }}"
  30. matrix_cactus_comments_docker_image_registry_prefix_upstream_default: docker.io/
  31. matrix_cactus_comments_docker_image_tag: "{{ matrix_cactus_comments_version }}"
  32. matrix_cactus_comments_docker_image_force_pull: "{{ matrix_cactus_comments_docker_image.endswith(':latest') }}"
  33. matrix_cactus_comments_container_network: ""
  34. matrix_cactus_comments_container_additional_networks: "{{ matrix_cactus_comments_container_additional_networks_auto + matrix_cactus_comments_container_additional_networks_custom }}"
  35. matrix_cactus_comments_container_additional_networks_auto: []
  36. matrix_cactus_comments_container_additional_networks_custom: []
  37. # A list of extra arguments to pass to the container
  38. matrix_cactus_comments_container_extra_arguments: []
  39. # List of systemd services that matrix-cactus-comments.service depends on
  40. matrix_cactus_comments_systemd_required_services_list: "{{ [devture_systemd_docker_base_docker_service_name] if devture_systemd_docker_base_docker_service_name else [] }}"
  41. # List of systemd services that matrix-cactus-comments.service wants
  42. matrix_cactus_comments_systemd_wanted_services_list: []
  43. matrix_cactus_comments_environment_variables_extension: ''
  44. # matrix_cactus_comments_restart_necessary controls whether the service
  45. # will be restarted (when true) or merely started (when false) by the
  46. # systemd service manager role (when conditional restart is enabled).
  47. #
  48. # This value is automatically computed during installation based on whether
  49. # any configuration files, the systemd service file, or the container image changed.
  50. # The default of `false` means "no restart needed" — appropriate when the role's
  51. # installation tasks haven't run (e.g., due to --tags skipping them).
  52. matrix_cactus_comments_restart_necessary: false