Matrix Docker Ansible eploy
Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
 
 

97 righe
3.7 KiB

  1. ---
  2. # buscarron is a helpdesk bot
  3. # See: 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_src_files_path: "{{ matrix_base_data_path }}/buscarron/docker-src"
  8. matrix_bot_buscarron_version: v1.0.0
  9. matrix_bot_buscarron_docker_image: "{{ matrix_bot_buscarron_docker_image_name_prefix }}buscarron:{{ matrix_bot_buscarron_version }}"
  10. matrix_bot_buscarron_docker_image_name_prefix: "{{ 'localhost/' if matrix_bot_buscarron_container_image_self_build else 'registry.gitlab.com/etke.cc/' }}"
  11. matrix_bot_buscarron_docker_image_force_pull: "{{ matrix_bot_buscarron_docker_image.endswith(':latest') }}"
  12. matrix_bot_buscarron_base_path: "{{ matrix_base_data_path }}/buscarron"
  13. matrix_bot_buscarron_config_path: "{{ matrix_bot_buscarron_base_path }}/config"
  14. matrix_bot_buscarron_data_path: "{{ matrix_bot_buscarron_base_path }}/data"
  15. matrix_bot_buscarron_data_store_path: "{{ matrix_bot_buscarron_data_path }}/store"
  16. # A list of extra arguments to pass to the container
  17. matrix_bot_buscarron_container_extra_arguments: []
  18. # List of systemd services that matrix-bot-buscarron.service depends on
  19. matrix_bot_buscarron_systemd_required_services_list: ['docker.service']
  20. # List of systemd services that matrix-bot-buscarron.service wants
  21. matrix_bot_buscarron_systemd_wanted_services_list: []
  22. # Database-related configuration fields.
  23. #
  24. # To use SQLite, stick to these defaults.
  25. #
  26. # To use Postgres:
  27. # - change the engine (`matrix_bot_buscarron_database_engine: 'postgres'`)
  28. # - adjust your database credentials via the `matrix_bot_buscarron_database_*` variables
  29. matrix_bot_buscarron_database_engine: 'sqlite'
  30. matrix_bot_buscarron_sqlite_database_path_local: "{{ matrix_bot_buscarron_data_path }}/bot.db"
  31. matrix_bot_buscarron_sqlite_database_path_in_container: "/data/bot.db"
  32. matrix_bot_buscarron_database_username: 'buscarron'
  33. matrix_bot_buscarron_database_password: 'some-password'
  34. matrix_bot_buscarron_database_hostname: 'matrix-postgres'
  35. matrix_bot_buscarron_database_port: 5432
  36. matrix_bot_buscarron_database_name: 'buscarron'
  37. 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'
  38. matrix_bot_buscarron_storage_database: "{{
  39. {
  40. 'sqlite': matrix_bot_buscarron_sqlite_database_path_in_container,
  41. 'postgres': matrix_bot_buscarron_database_connection_string,
  42. }[matrix_bot_buscarron_database_engine]
  43. }}"
  44. matrix_bot_buscarron_database_dialect: "{{
  45. {
  46. 'sqlite': 'sqlite3',
  47. 'postgres': 'postgres',
  48. }[matrix_bot_buscarron_database_engine]
  49. }}"
  50. # The bot's username. This user needs to be created manually beforehand.
  51. # Also see `matrix_bot_buscarron_password`.
  52. matrix_bot_buscarron_login: "bot.buscarron"
  53. # The password that the bot uses to authenticate.
  54. matrix_bot_buscarron_password: ''
  55. # the homeserver URL, uses internal synapse container address by default
  56. matrix_bot_buscarron_homeserver: "{{ matrix_homeserver_container_url }}"
  57. # forms configuration
  58. matrix_bot_buscarron_forms: []
  59. # Sentry DSN
  60. matrix_bot_buscarron_sentry:
  61. # Log level
  62. matrix_bot_buscarron_loglevel: INFO
  63. # spam hosts/domains
  64. matrix_bot_buscarron_spam_hosts: []
  65. # spam email addresses
  66. matrix_bot_buscarron_spam_emails: []
  67. # Additional environment variables to pass to the buscarron container
  68. #
  69. # Example:
  70. # matrix_bot_buscarron_environment_variables_extension: |
  71. # BUSCARRON_LOGLEVEL=DEBUG
  72. matrix_bot_buscarron_environment_variables_extension: ''