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.
 
 

184 satır
8.8 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.4.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: "{{ matrix_bot_buscarron_container_additional_networks_auto + matrix_bot_buscarron_container_additional_networks_custom }}"
  32. matrix_bot_buscarron_container_additional_networks_auto: []
  33. matrix_bot_buscarron_container_additional_networks_custom: []
  34. # /metrics login
  35. matrix_bot_buscarron_metrics_login: ''
  36. # /metrics password
  37. matrix_bot_buscarron_metrics_password: ''
  38. # /metrics allowed ips
  39. matrix_bot_buscarron_metrics_ips: []
  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: "{{ matrix_bot_buscarron_systemd_required_services_list_default + matrix_bot_buscarron_systemd_required_services_list_auto + matrix_bot_buscarron_systemd_required_services_list_custom }}"
  73. matrix_bot_buscarron_systemd_required_services_list_default: "{{ [devture_systemd_docker_base_docker_service_name] if devture_systemd_docker_base_docker_service_name else [] }}"
  74. matrix_bot_buscarron_systemd_required_services_list_auto: []
  75. matrix_bot_buscarron_systemd_required_services_list_custom: []
  76. # List of systemd services that matrix-bot-buscarron.service wants
  77. matrix_bot_buscarron_systemd_wanted_services_list: []
  78. # Database-related configuration fields.
  79. #
  80. # To use SQLite, stick to these defaults.
  81. #
  82. # To use Postgres:
  83. # - change the engine (`matrix_bot_buscarron_database_engine: 'postgres'`)
  84. # - adjust your database credentials via the `matrix_bot_buscarron_database_*` variables
  85. matrix_bot_buscarron_database_engine: 'sqlite'
  86. matrix_bot_buscarron_sqlite_database_path_local: "{{ matrix_bot_buscarron_data_path }}/bot.db"
  87. matrix_bot_buscarron_sqlite_database_path_in_container: "/data/bot.db"
  88. matrix_bot_buscarron_database_username: 'buscarron'
  89. matrix_bot_buscarron_database_password: 'some-password'
  90. matrix_bot_buscarron_database_hostname: ''
  91. matrix_bot_buscarron_database_port: 5432
  92. matrix_bot_buscarron_database_name: 'buscarron'
  93. matrix_bot_buscarron_database_sslmode: disable
  94. 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 }}'
  95. matrix_bot_buscarron_storage_database: "{{
  96. {
  97. 'sqlite': matrix_bot_buscarron_sqlite_database_path_in_container,
  98. 'postgres': matrix_bot_buscarron_database_connection_string,
  99. }[matrix_bot_buscarron_database_engine]
  100. }}"
  101. matrix_bot_buscarron_database_dialect: "{{
  102. {
  103. 'sqlite': 'sqlite3',
  104. 'postgres': 'postgres',
  105. }[matrix_bot_buscarron_database_engine]
  106. }}"
  107. # The bot's username. This user needs to be created manually beforehand.
  108. # Also see `matrix_bot_buscarron_password`.
  109. matrix_bot_buscarron_login: "bot.buscarron"
  110. # The password that the bot uses to authenticate.
  111. matrix_bot_buscarron_password: ''
  112. # the homeserver URL, uses internal synapse container address by default
  113. matrix_bot_buscarron_homeserver: ""
  114. # forms configuration
  115. matrix_bot_buscarron_forms: []
  116. # Sentry DSN
  117. matrix_bot_buscarron_sentry: ''
  118. # Log level
  119. matrix_bot_buscarron_loglevel: INFO
  120. # list of spammers with wildcards support, eg: *@spam.com spam@*, spam@spam.com
  121. matrix_bot_buscarron_spamlist: []
  122. # Banlist size
  123. matrix_bot_buscarron_ban_size: 10000
  124. # Permanent banlist
  125. matrix_bot_buscarron_ban_list: []
  126. # Postmark token (confirmation emails)
  127. matrix_bot_buscarron_pm_token: ''
  128. # Postmark sender signature
  129. matrix_bot_buscarron_pm_from: ''
  130. # Postmark confirmation email's reply-to
  131. matrix_bot_buscarron_pm_replyto: ''
  132. # email address (from) for SMTP validation. Must be valid email on valid SMTP server, otherwise it will be rejected by other servers
  133. matrix_bot_buscarron_smtp_from: ''
  134. # enforce SMTP validation
  135. matrix_bot_buscarron_smtp_validation: false
  136. # Additional environment variables to pass to the buscarron container
  137. #
  138. # Example:
  139. # matrix_bot_buscarron_environment_variables_extension: |
  140. # BUSCARRON_LOGLEVEL=DEBUG
  141. matrix_bot_buscarron_environment_variables_extension: ''