Matrix Docker Ansible eploy
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。
 
 

119 行
4.2 KiB

  1. ---
  2. # buscarron is a helpdesk bot
  3. # Project source code URL: https://gitlab.com/etke.cc/buscarron
  4. matrix_bot_buscarron_enabled: true
  5. matrix_bot_buscarron_container_image_self_build: false
  6. matrix_bot_buscarron_docker_repo: "https://gitlab.com/etke.cc/buscarron.git"
  7. matrix_bot_buscarron_docker_repo_version: "{{ matrix_bot_buscarron_version }}"
  8. matrix_bot_buscarron_docker_src_files_path: "{{ matrix_base_data_path }}/buscarron/docker-src"
  9. matrix_bot_buscarron_version: v1.2.1
  10. matrix_bot_buscarron_docker_image: "{{ matrix_bot_buscarron_docker_image_name_prefix }}buscarron:{{ matrix_bot_buscarron_version }}"
  11. matrix_bot_buscarron_docker_image_name_prefix: "{{ 'localhost/' if matrix_bot_buscarron_container_image_self_build else 'registry.gitlab.com/etke.cc/' }}"
  12. matrix_bot_buscarron_docker_image_force_pull: "{{ matrix_bot_buscarron_docker_image.endswith(':latest') }}"
  13. matrix_bot_buscarron_base_path: "{{ matrix_base_data_path }}/buscarron"
  14. matrix_bot_buscarron_config_path: "{{ matrix_bot_buscarron_base_path }}/config"
  15. matrix_bot_buscarron_data_path: "{{ matrix_bot_buscarron_base_path }}/data"
  16. matrix_bot_buscarron_data_store_path: "{{ matrix_bot_buscarron_data_path }}/store"
  17. # A list of extra arguments to pass to the container
  18. matrix_bot_buscarron_container_extra_arguments: []
  19. # List of systemd services that matrix-bot-buscarron.service depends on
  20. matrix_bot_buscarron_systemd_required_services_list: ['docker.service']
  21. # List of systemd services that matrix-bot-buscarron.service wants
  22. matrix_bot_buscarron_systemd_wanted_services_list: []
  23. # Database-related configuration fields.
  24. #
  25. # To use SQLite, stick to these defaults.
  26. #
  27. # To use Postgres:
  28. # - change the engine (`matrix_bot_buscarron_database_engine: 'postgres'`)
  29. # - adjust your database credentials via the `matrix_bot_buscarron_database_*` variables
  30. matrix_bot_buscarron_database_engine: 'sqlite'
  31. matrix_bot_buscarron_sqlite_database_path_local: "{{ matrix_bot_buscarron_data_path }}/bot.db"
  32. matrix_bot_buscarron_sqlite_database_path_in_container: "/data/bot.db"
  33. matrix_bot_buscarron_database_username: 'buscarron'
  34. matrix_bot_buscarron_database_password: 'some-password'
  35. matrix_bot_buscarron_database_hostname: 'matrix-postgres'
  36. matrix_bot_buscarron_database_port: 5432
  37. matrix_bot_buscarron_database_name: 'buscarron'
  38. matrix_bot_buscarron_database_connection_string: 'postgres://{{ matrix_bot_buscarron_database_username }}:{{ matrix_bot_buscarron_database_password }}@{{ matrix_bot_buscarron_database_hostname }}:{{ matrix_bot_buscarron_database_port }}/{{ matrix_bot_buscarron_database_name }}?sslmode=disable'
  39. matrix_bot_buscarron_storage_database: "{{
  40. {
  41. 'sqlite': matrix_bot_buscarron_sqlite_database_path_in_container,
  42. 'postgres': matrix_bot_buscarron_database_connection_string,
  43. }[matrix_bot_buscarron_database_engine]
  44. }}"
  45. matrix_bot_buscarron_database_dialect: "{{
  46. {
  47. 'sqlite': 'sqlite3',
  48. 'postgres': 'postgres',
  49. }[matrix_bot_buscarron_database_engine]
  50. }}"
  51. # The bot's username. This user needs to be created manually beforehand.
  52. # Also see `matrix_bot_buscarron_password`.
  53. matrix_bot_buscarron_login: "bot.buscarron"
  54. # The password that the bot uses to authenticate.
  55. matrix_bot_buscarron_password: ''
  56. # the homeserver URL, uses internal synapse container address by default
  57. matrix_bot_buscarron_homeserver: "{{ matrix_homeserver_container_url }}"
  58. # forms configuration
  59. matrix_bot_buscarron_forms: []
  60. # Disable encryption
  61. matrix_bot_buscarron_noencryption:
  62. # Sentry DSN
  63. matrix_bot_buscarron_sentry:
  64. # Log level
  65. matrix_bot_buscarron_loglevel: INFO
  66. # spam hosts/domains
  67. matrix_bot_buscarron_spam_hosts: []
  68. # spam email addresses
  69. matrix_bot_buscarron_spam_emails: []
  70. # spam email localparts
  71. matrix_bot_buscarron_spam_localparts: []
  72. # Ban duration in hours
  73. matrix_bot_buscarron_ban_duration: 24
  74. # Banlist size
  75. matrix_bot_buscarron_ban_size: 10000
  76. # Postmark token (confirmation emails)
  77. matrix_bot_buscarron_pm_token:
  78. # Postmark sender signature
  79. matrix_bot_buscarron_pm_from:
  80. # Postmark confirmation email's reply-to
  81. matrix_bot_buscarron_pm_replyto:
  82. # Additional environment variables to pass to the buscarron container
  83. #
  84. # Example:
  85. # matrix_bot_buscarron_environment_variables_extension: |
  86. # BUSCARRON_LOGLEVEL=DEBUG
  87. matrix_bot_buscarron_environment_variables_extension: ''