Matrix Docker Ansible eploy
25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.
 
 

71 satır
3.8 KiB

  1. ---
  2. # A moderation tool for Matrix
  3. # Project source code URL: https://github.com/the-draupnir-project/Draupnir
  4. matrix_bot_draupnir_enabled: true
  5. # renovate: datasource=docker depName=gnuxie/draupnir
  6. matrix_bot_draupnir_version: "v1.85.1"
  7. matrix_bot_draupnir_container_image_self_build: false
  8. matrix_bot_draupnir_container_image_self_build_repo: "https://github.com/the-draupnir-project/Draupnir.git"
  9. matrix_bot_draupnir_docker_image: "{{ matrix_bot_draupnir_docker_image_name_prefix }}gnuxie/draupnir:{{ matrix_bot_draupnir_version }}"
  10. matrix_bot_draupnir_docker_image_name_prefix: "{{ 'localhost/' if matrix_bot_draupnir_container_image_self_build else matrix_container_global_registry_prefix }}"
  11. matrix_bot_draupnir_docker_image_force_pull: "{{ matrix_bot_draupnir_docker_image.endswith(':latest') }}"
  12. matrix_bot_draupnir_base_path: "{{ matrix_base_data_path }}/draupnir"
  13. matrix_bot_draupnir_config_path: "{{ matrix_bot_draupnir_base_path }}/config"
  14. matrix_bot_draupnir_data_path: "{{ matrix_bot_draupnir_base_path }}/data"
  15. matrix_bot_draupnir_docker_src_files_path: "{{ matrix_bot_draupnir_base_path }}/docker-src"
  16. # A list of extra arguments to pass to the container
  17. matrix_bot_draupnir_container_extra_arguments: []
  18. # List of systemd services that matrix-bot-draupnir.service depends on
  19. matrix_bot_draupnir_systemd_required_services_list: ['docker.service']
  20. # List of systemd services that matrix-bot-draupnir.service wants
  21. matrix_bot_draupnir_systemd_wanted_services_list: []
  22. # The access token for the bot user
  23. matrix_bot_draupnir_access_token: ""
  24. # The room ID where people can use the bot. The bot has no access controls, so
  25. # anyone in this room can use the bot - secure your room!
  26. # This should be a room alias or room ID - not a matrix.to URL.
  27. # Note: draupnir is fairly verbose - expect a lot of messages from it.
  28. matrix_bot_draupnir_management_room: ""
  29. # Disable Server ACL is used if you want to not give the bot the right to apply Server ACLs in rooms without complaints from the bot.
  30. # This setting is described the following way in the Configuration.
  31. #
  32. # Whether or not Draupnir should apply `m.room.server_acl` events.
  33. # DO NOT change this to `true` unless you are very confident that you know what you are doing.
  34. #
  35. # Please follow the advice of upstream and only change this value if you know what your doing.
  36. # Its Exposed here because its common enough to be valid to expose.
  37. matrix_bot_draupnir_disable_server_acl: "false"
  38. # Default configuration template which covers the generic use case.
  39. # You can customize it by controlling the various variables inside it.
  40. #
  41. # For a more advanced customization, you can extend the default (see `matrix_bot_draupnir_configuration_extension_yaml`)
  42. # or completely replace this variable with your own template.
  43. matrix_bot_draupnir_configuration_yaml: "{{ lookup('template', 'templates/production.yaml.j2') }}"
  44. matrix_bot_draupnir_configuration_extension_yaml: |
  45. # Your custom YAML configuration goes here.
  46. # This configuration extends the default starting configuration (`matrix_bot_draupnir_configuration_yaml`).
  47. #
  48. # You can override individual variables from the default configuration, or introduce new ones.
  49. #
  50. # If you need something more special, you can take full control by
  51. # completely redefining `matrix_bot_draupnir_configuration_yaml`.
  52. matrix_bot_draupnir_configuration_extension: "{{ matrix_bot_draupnir_configuration_extension_yaml | from_yaml if matrix_bot_draupnir_configuration_extension_yaml | from_yaml is mapping else {} }}"
  53. # Holds the final configuration (a combination of the default and its extension).
  54. # You most likely don't need to touch this variable. Instead, see `matrix_bot_draupnir_configuration_yaml`.
  55. matrix_bot_draupnir_configuration: "{{ matrix_bot_draupnir_configuration_yaml | from_yaml | combine(matrix_bot_draupnir_configuration_extension, recursive=True) }}"