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.
 
 

178 wiersze
7.7 KiB

  1. ---
  2. # buscarron is a Web forms (HTTP POST) to Matrix service.
  3. # Project source code URL: https://gitlab.com/etke.cc/buscarron
  4. matrix_bot_buscarron_enabled: true
  5. matrix_bot_buscarron_version: v1.3.1
  6. # The hostname at which Buscarron is served.
  7. matrix_bot_buscarron_hostname: ''
  8. # The path at which Buscarron is exposed.
  9. # This value must either be `/` or not end with a slash (e.g. `/buscarron`).
  10. matrix_bot_buscarron_path_prefix: /
  11. matrix_bot_buscarron_base_path: "{{ matrix_base_data_path }}/buscarron"
  12. matrix_bot_buscarron_config_path: "{{ matrix_bot_buscarron_base_path }}/config"
  13. matrix_bot_buscarron_data_path: "{{ matrix_bot_buscarron_base_path }}/data"
  14. matrix_bot_buscarron_data_store_path: "{{ matrix_bot_buscarron_data_path }}/store"
  15. matrix_bot_buscarron_container_image_self_build: false
  16. matrix_bot_buscarron_docker_repo: "https://gitlab.com/etke.cc/buscarron.git"
  17. matrix_bot_buscarron_docker_repo_version: "{{ matrix_bot_buscarron_version }}"
  18. matrix_bot_buscarron_docker_src_files_path: "{{ matrix_base_data_path }}/buscarron/docker-src"
  19. matrix_bot_buscarron_docker_image: "{{ matrix_bot_buscarron_docker_image_name_prefix }}etke.cc/buscarron:{{ matrix_bot_buscarron_version }}"
  20. matrix_bot_buscarron_docker_image_name_prefix: "{{ 'localhost/' if matrix_bot_buscarron_container_image_self_build else 'registry.gitlab.com/' }}"
  21. matrix_bot_buscarron_docker_image_force_pull: "{{ matrix_bot_buscarron_docker_image.endswith(':latest') }}"
  22. # The base container network. It will be auto-created by this role if it doesn't exist already.
  23. matrix_bot_buscarron_container_network: matrix-bot-buscarron
  24. # A list of additional container networks that the container would be connected to.
  25. # The role does not create these networks, so make sure they already exist.
  26. # Use this to expose this container to another reverse proxy, which runs in a different container network.
  27. matrix_bot_buscarron_container_additional_networks: []
  28. # matrix_bot_buscarron_container_labels_traefik_enabled controls whether labels to assist a Traefik reverse-proxy will be attached to the container.
  29. # See `../templates/labels.j2` for details.
  30. #
  31. # To inject your own other container labels, see `matrix_bot_buscarron_container_labels_additional_labels`.
  32. matrix_bot_buscarron_container_labels_traefik_enabled: true
  33. matrix_bot_buscarron_container_labels_traefik_docker_network: "{{ matrix_bot_buscarron_container_network }}"
  34. matrix_bot_buscarron_container_labels_traefik_hostname: "{{ matrix_bot_buscarron_hostname }}"
  35. # The path prefix must either be `/` or not end with a slash (e.g. `/buscarron`).
  36. matrix_bot_buscarron_container_labels_traefik_path_prefix: "{{ matrix_bot_buscarron_path_prefix }}"
  37. matrix_bot_buscarron_container_labels_traefik_rule: "Host(`{{ matrix_bot_buscarron_container_labels_traefik_hostname }}`){% if matrix_bot_buscarron_container_labels_traefik_path_prefix != '/' %} && PathPrefix(`{{ matrix_bot_buscarron_container_labels_traefik_path_prefix }}`){% endif %}"
  38. matrix_bot_buscarron_container_labels_traefik_priority: 0
  39. matrix_bot_buscarron_container_labels_traefik_entrypoints: web-secure
  40. matrix_bot_buscarron_container_labels_traefik_tls: "{{ matrix_bot_buscarron_container_labels_traefik_entrypoints != 'web' }}"
  41. matrix_bot_buscarron_container_labels_traefik_tls_certResolver: default # noqa var-naming
  42. # Controls which additional headers to attach to all HTTP responses.
  43. # To add your own headers, use `matrix_bot_buscarron_container_labels_traefik_additional_response_headers_custom`
  44. matrix_bot_buscarron_container_labels_traefik_additional_response_headers: "{{ matrix_bot_buscarron_container_labels_traefik_additional_response_headers_auto | combine(matrix_bot_buscarron_container_labels_traefik_additional_response_headers_custom) }}"
  45. matrix_bot_buscarron_container_labels_traefik_additional_response_headers_auto: {}
  46. matrix_bot_buscarron_container_labels_traefik_additional_response_headers_custom: {}
  47. # matrix_bot_buscarron_container_labels_additional_labels contains a multiline string with additional labels to add to the container label file.
  48. # See `../templates/labels.j2` for details.
  49. #
  50. # Example:
  51. # matrix_bot_buscarron_container_labels_additional_labels: |
  52. # my.label=1
  53. # another.label="here"
  54. matrix_bot_buscarron_container_labels_additional_labels: ''
  55. # A list of extra arguments to pass to the container
  56. matrix_bot_buscarron_container_extra_arguments: []
  57. # List of systemd services that matrix-bot-buscarron.service depends on
  58. matrix_bot_buscarron_systemd_required_services_list: ['docker.service']
  59. # List of systemd services that matrix-bot-buscarron.service wants
  60. matrix_bot_buscarron_systemd_wanted_services_list: []
  61. # Database-related configuration fields.
  62. #
  63. # To use SQLite, stick to these defaults.
  64. #
  65. # To use Postgres:
  66. # - change the engine (`matrix_bot_buscarron_database_engine: 'postgres'`)
  67. # - adjust your database credentials via the `matrix_bot_buscarron_database_*` variables
  68. matrix_bot_buscarron_database_engine: 'sqlite'
  69. matrix_bot_buscarron_sqlite_database_path_local: "{{ matrix_bot_buscarron_data_path }}/bot.db"
  70. matrix_bot_buscarron_sqlite_database_path_in_container: "/data/bot.db"
  71. matrix_bot_buscarron_database_username: 'buscarron'
  72. matrix_bot_buscarron_database_password: 'some-password'
  73. matrix_bot_buscarron_database_hostname: ''
  74. matrix_bot_buscarron_database_port: 5432
  75. matrix_bot_buscarron_database_name: 'buscarron'
  76. 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'
  77. matrix_bot_buscarron_storage_database: "{{
  78. {
  79. 'sqlite': matrix_bot_buscarron_sqlite_database_path_in_container,
  80. 'postgres': matrix_bot_buscarron_database_connection_string,
  81. }[matrix_bot_buscarron_database_engine]
  82. }}"
  83. matrix_bot_buscarron_database_dialect: "{{
  84. {
  85. 'sqlite': 'sqlite3',
  86. 'postgres': 'postgres',
  87. }[matrix_bot_buscarron_database_engine]
  88. }}"
  89. # The bot's username. This user needs to be created manually beforehand.
  90. # Also see `matrix_bot_buscarron_password`.
  91. matrix_bot_buscarron_login: "bot.buscarron"
  92. # The password that the bot uses to authenticate.
  93. matrix_bot_buscarron_password: ''
  94. # the homeserver URL, uses internal synapse container address by default
  95. matrix_bot_buscarron_homeserver: "{{ matrix_homeserver_container_url }}"
  96. # forms configuration
  97. matrix_bot_buscarron_forms: []
  98. # Disable encryption
  99. matrix_bot_buscarron_noencryption: false
  100. # Sentry DSN
  101. matrix_bot_buscarron_sentry: ''
  102. # Log level
  103. matrix_bot_buscarron_loglevel: INFO
  104. # list of spammers with wildcards support, eg: *@spam.com spam@*, spam@spam.com
  105. matrix_bot_buscarron_spamlist: []
  106. # spam hosts/domains.
  107. # deprecated, use matrix_bot_buscarron_spamlist
  108. matrix_bot_buscarron_spam_hosts: []
  109. # spam email addresses
  110. # deprecated, use matrix_bot_buscarron_spamlist
  111. matrix_bot_buscarron_spam_emails: []
  112. # spam email localparts
  113. # deprecated, use matrix_bot_buscarron_spamlist
  114. matrix_bot_buscarron_spam_localparts: []
  115. # Banlist size
  116. matrix_bot_buscarron_ban_size: 10000
  117. # Permanent banlist
  118. matrix_bot_buscarron_ban_list: []
  119. # Postmark token (confirmation emails)
  120. matrix_bot_buscarron_pm_token: ''
  121. # Postmark sender signature
  122. matrix_bot_buscarron_pm_from: ''
  123. # Postmark confirmation email's reply-to
  124. matrix_bot_buscarron_pm_replyto: ''
  125. # email address (from) for SMTP validation. Must be valid email on valid SMTP server, otherwise it will be rejected by other servers
  126. matrix_bot_buscarron_smtp_from: ''
  127. # enforce SMTP validation
  128. matrix_bot_buscarron_smtp_validation: false
  129. # Additional environment variables to pass to the buscarron container
  130. #
  131. # Example:
  132. # matrix_bot_buscarron_environment_variables_extension: |
  133. # BUSCARRON_LOGLEVEL=DEBUG
  134. matrix_bot_buscarron_environment_variables_extension: ''