Matrix Docker Ansible eploy
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
 
 

78 wiersze
3.1 KiB

  1. # The string to prefix bot commands with
  2. command_prefix: "{{ matrix_bot_matrix_reminder_bot_command_prefix }}"
  3. # Options for connecting to the bot's Matrix account
  4. matrix:
  5. # The Matrix User ID of the bot account
  6. user_id: {{ matrix_bot_matrix_reminder_bot_matrix_user_id|to_json }}
  7. # Matrix account password
  8. user_password: {{ matrix_bot_matrix_reminder_bot_matrix_user_password|to_json }}
  9. # The public URL at which the homeserver's Client-Server API can be accessed
  10. homeserver_url: {{ matrix_bot_matrix_reminder_bot_matrix_homeserver_url }}
  11. # The device ID that is a **non pre-existing** device
  12. # If this device ID already exists, messages will be dropped silently in
  13. # encrypted rooms
  14. device_id: REMINDER
  15. # What to name the logged in device
  16. device_name: Reminder Bot
  17. storage:
  18. # The database connection string
  19. # For SQLite3, this would look like:
  20. # database: "sqlite://bot.db"
  21. # For Postgres, this would look like:
  22. # database: "postgres://username:password@localhost/dbname?sslmode=disable"
  23. #database: "postgres://matrix-reminder-bot:remindme@localhost/matrix-reminder-bot?sslmode=disable"
  24. database: {{ matrix_bot_matrix_reminder_bot_storage_database|to_json }}
  25. # The path to a directory for internal bot storage
  26. # containing encryption keys, sync tokens, etc.
  27. store_path: "/data/store"
  28. reminders:
  29. # Uncomment to set a default timezone that will be used when creating reminders.
  30. # If not set, UTC will be used
  31. timezone: {{ matrix_bot_matrix_reminder_bot_reminders_timezone }}
  32. # Restrict the bot to only respond to certain MXIDs
  33. allowlist:
  34. # Set to true to enable the allowlist
  35. enabled: {{ matrix_bot_matrix_reminder_bot_allowlist_enabled | to_json }}
  36. # A list of MXID regexes to be allowed
  37. # To allow a certain homeserver:
  38. # regexes: ["@[a-z0-9-_.]+:example.com"]
  39. # To allow a set of users:
  40. # regexes: ["@alice:example.net", "@bob:example.org"]
  41. # To allow nobody (same as blocking every MXID):
  42. # regexes: []
  43. regexes: {{ matrix_bot_matrix_reminder_bot_allowlist_regexes | to_json }}
  44. # Prevent the bot from responding to certain MXIDs
  45. # If both allowlist and blocklist are enabled, blocklist entries takes precedence
  46. blocklist:
  47. # Set to true to enable the blocklist
  48. enabled: {{ matrix_bot_matrix_reminder_bot_blocklist_enabled | to_json }}
  49. # A list of MXID regexes to be blocked
  50. # To block a certain homeserver:
  51. # regexes: [".*:example.com"]
  52. # To block a set of users:
  53. # regexes: ["@alice:example.net", "@bob:example.org"]
  54. # To block absolutely everyone (same as allowing nobody):
  55. # regexes: [".*"]
  56. regexes: {{ matrix_bot_matrix_reminder_bot_blocklist_regexes | to_json }}
  57. # Logging setup
  58. logging:
  59. # Logging level
  60. # Valid values: ERROR, WARNING, INFO, DEBUG
  61. level: INFO
  62. # Configure logging to a file
  63. file_logging:
  64. # Whether logging to a file is enabled
  65. enabled: false
  66. # The path to the file to log to. May be relative or absolute
  67. filepath: /data/bot.log
  68. # Configure logging to the console (stdout/stderr)
  69. console_logging:
  70. # Whether console logging is enabled
  71. enabled: true