Matrix Docker Ansible eploy
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

86 lines
4.2 KiB

  1. # Default configuration for baibot.
  2. # To extend it, use `matrix_bot_baibot_configuration_extension_yaml`.
  3. homeserver:
  4. # The canonical homeserver domain name
  5. server_name: {{ matrix_bot_baibot_config_homeserver_server_name | to_json }}
  6. url: {{ matrix_bot_baibot_config_homeserver_url | to_json }}
  7. user:
  8. mxid_localpart: {{ matrix_bot_baibot_config_user_mxid_localpart | to_json }}
  9. password: {{ matrix_bot_baibot_config_user_password | to_json }}
  10. # The name the bot uses as a display name and when it refers to itself.
  11. # Leave empty to use the default (baibot).
  12. name: {{ matrix_bot_baibot_config_user_name | to_json }}
  13. encryption:
  14. # An optional passphrase to use for backing up and recovering the bot's encryption keys.
  15. # You can use any string here.
  16. #
  17. # If left empty, the recovery module will not be used and losing your session/database (see persistence)
  18. # will mean you lose access to old messages in encrypted room.
  19. #
  20. # Changing this subsequently will also cause you to lose access to old messages in encrypted rooms.
  21. # If you really need to change this:
  22. # - Set `encryption_recovery_reset_allowed` to `true` and adjust the passphrase
  23. # - Remove your session file and database (see persistence)
  24. # - Restart the bot
  25. # - Then restore `encryption_recovery_reset_allowed` to `false` to prevent accidental resets in the future
  26. recovery_passphrase: {{ matrix_bot_baibot_config_user_encryption_recovery_passphrase | to_json }}
  27. # An optional flag to reset the encryption recovery passphrase.
  28. recovery_reset_allowed: {{ matrix_bot_baibot_config_user_encryption_recovery_reset_allowed | to_json }}
  29. # Command prefix. Leave empty to use the default (!bai).
  30. command_prefix: {{ matrix_bot_baibot_config_command_prefix | to_json }}
  31. access:
  32. # Space-separated list of MXID patterns which specify who is an admin.
  33. admin_patterns: {{ matrix_bot_baibot_config_access_admin_patterns | to_json }}
  34. persistence:
  35. data_dir_path: {{ matrix_bot_baibot_config_persistence_data_dir_path | to_json }}
  36. # An optional secret for encrypting the bot's session data (stored in data_dir_path).
  37. # This must be 32-bytes (64 characters when HEX-encoded).
  38. # Generate it with: `openssl rand -hex 32`
  39. # Leave null or empty to avoid using encryption.
  40. # Changing this subsequently requires that you also throw away all data stored in data_dir_path.
  41. session_encryption_key: {{ matrix_bot_baibot_config_persistence_session_encryption_key | to_json }}
  42. # An optional secret for encrypting bot configuration stored in Matrix's account data.
  43. # This must be 32-bytes (64 characters when HEX-encoded).
  44. # Generate it with: `openssl rand -hex 32`
  45. # Leave null or empty to avoid using encryption.
  46. # Changing this subsequently will make you lose your configuration.
  47. config_encryption_key: {{ matrix_bot_baibot_config_persistence_config_encryption_key | to_json }}
  48. agents:
  49. # A list of statically-defined agents.
  50. static_definitions: {{ matrix_bot_baibot_config_agents_static_definitions | to_json }}
  51. # Initial global configuration. This only affects the first run of the bot.
  52. # Configuration is later managed at runtime.
  53. initial_global_config:
  54. handler:
  55. catch_all: {{ matrix_bot_baibot_config_initial_global_config_handler_catch_all | to_json }}
  56. text_generation: {{ matrix_bot_baibot_config_initial_global_config_handler_text_generation | to_json }}
  57. text_to_speech: {{ matrix_bot_baibot_config_initial_global_config_handler_text_to_speech | to_json }}
  58. speech_to_text: {{ matrix_bot_baibot_config_initial_global_config_handler_speech_to_text | to_json }}
  59. image_generation: {{ matrix_bot_baibot_config_initial_global_config_handler_image_generation | to_json }}
  60. # Space-separated list of MXID patterns which specify who can use the bot.
  61. # By default, we let anyone on the homeserver use the bot.
  62. user_patterns: {{ matrix_bot_baibot_config_initial_global_config_user_patterns | to_json}}
  63. # Controls logging.
  64. #
  65. # Sets all tracing targets (external crates) to warn, and our own logs to debug.
  66. # For even more verbose logging, one may also use trace.
  67. #
  68. # matrix_sdk_crypto may be chatty and could be added with an error level.
  69. #
  70. # Learn more here: https://stackoverflow.com/a/73735203
  71. logging: {{ matrix_bot_baibot_config_logging | to_json }}