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.
 
 

84 line
3.2 KiB

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