Matrix Docker Ansible eploy
25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.
 
 

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