Matrix Docker Ansible eploy
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
 
 

117 lignes
6.7 KiB

  1. ---
  2. # rageshake is a bug report collection service
  3. # Project source code URL: https://github.com/matrix-org/rageshake
  4. matrix_rageshake_enabled: true
  5. matrix_rageshake_scheme: https
  6. # The hostname at which rageshake is served.
  7. matrix_rageshake_hostname: ''
  8. # The path at which rageshake is exposed.
  9. # This value must either be `/` or not end with a slash (e.g. `/rageshake`).
  10. matrix_rageshake_path_prefix: /
  11. # There are no stable container image tags yet.
  12. # See: https://github.com/matrix-org/rageshake/issues/69
  13. # renovate: datasource=docker depName=ghcr.io/matrix-org/rageshake
  14. matrix_rageshake_version: 1.13.0
  15. matrix_rageshake_base_path: "{{ matrix_base_data_path }}/rageshake"
  16. matrix_rageshake_config_path: "{{ matrix_rageshake_base_path }}/config"
  17. matrix_rageshake_data_path: "{{ matrix_rageshake_base_path }}/data"
  18. matrix_rageshake_container_src_files_path: "{{ matrix_rageshake_base_path }}/container-src"
  19. matrix_rageshake_container_image: "{{ matrix_rageshake_container_image_name_prefix }}matrix-org/rageshake:{{ matrix_rageshake_container_image_tag }}"
  20. matrix_rageshake_container_image_name_prefix: "{{ 'localhost/' if matrix_rageshake_container_image_self_build else matrix_rageshake_container_registry_prefix }}"
  21. matrix_rageshake_container_image_force_pull: "{{ matrix_rageshake_container_image.endswith(':master') }}"
  22. matrix_rageshake_container_image_tag: "{{ matrix_rageshake_version }}"
  23. matrix_rageshake_container_registry_prefix: ghcr.io/
  24. matrix_rageshake_container_image_self_build: false
  25. matrix_rageshake_container_image_self_build_repo: "https://github.com/matrix-org/rageshake/"
  26. matrix_rageshake_container_image_self_build_repo_version: "{{ matrix_rageshake_version }}"
  27. # Controls whether the container exposes its HTTP port (tcp/9110 in the container).
  28. #
  29. # Takes an "<ip>:<port>" or "<port>" value (e.g. "127.0.0.1:9110"), or empty string to not expose.
  30. matrix_rageshake_container_http_host_bind_port: ''
  31. # The base container network. It will be auto-created by this role if it doesn't exist already.
  32. matrix_rageshake_container_network: matrix-rageshake
  33. # A list of additional container networks that the container would be connected to.
  34. # The role does not create these networks, so make sure they already exist.
  35. # Use this to expose this container to another reverse proxy, which runs in a different container network.
  36. matrix_rageshake_container_additional_networks: []
  37. # matrix_rageshake_container_labels_traefik_enabled controls whether labels to assist a Traefik reverse-proxy will be attached to the container.
  38. # See `../templates/labels.j2` for details.
  39. #
  40. # To inject your own other container labels, see `matrix_rageshake_container_labels_additional_labels`.
  41. matrix_rageshake_container_labels_traefik_enabled: true
  42. matrix_rageshake_container_labels_traefik_docker_network: "{{ matrix_rageshake_container_network }}"
  43. matrix_rageshake_container_labels_traefik_hostname: "{{ matrix_rageshake_hostname }}"
  44. # The path prefix must either be `/` or not end with a slash (e.g. `/rageshake`).
  45. matrix_rageshake_container_labels_traefik_path_prefix: "{{ matrix_rageshake_path_prefix }}"
  46. matrix_rageshake_container_labels_traefik_rule: "Host(`{{ matrix_rageshake_container_labels_traefik_hostname }}`){% if matrix_rageshake_container_labels_traefik_path_prefix != '/' %} && PathPrefix(`{{ matrix_rageshake_container_labels_traefik_path_prefix }}`){% endif %}"
  47. matrix_rageshake_container_labels_traefik_priority: 0
  48. matrix_rageshake_container_labels_traefik_entrypoints: web-secure
  49. matrix_rageshake_container_labels_traefik_tls: "{{ matrix_rageshake_container_labels_traefik_entrypoints != 'web' }}"
  50. matrix_rageshake_container_labels_traefik_tls_certResolver: default # noqa var-naming
  51. # Controls which additional headers to attach to all HTTP responses.
  52. # To add your own headers, use `matrix_rageshake_container_labels_traefik_additional_response_headers_custom`
  53. matrix_rageshake_container_labels_traefik_additional_response_headers: "{{ matrix_rageshake_container_labels_traefik_additional_response_headers_auto | combine(matrix_rageshake_container_labels_traefik_additional_response_headers_custom) }}"
  54. matrix_rageshake_container_labels_traefik_additional_response_headers_auto: {}
  55. matrix_rageshake_container_labels_traefik_additional_response_headers_custom: {}
  56. # matrix_rageshake_container_labels_additional_labels contains a multiline string with additional labels to add to the container label file.
  57. # See `../templates/labels.j2` for details.
  58. #
  59. # Example:
  60. # matrix_rageshake_container_labels_additional_labels: |
  61. # my.label=1
  62. # another.label="here"
  63. matrix_rageshake_container_labels_additional_labels: ''
  64. # A list of extra arguments to pass to the container
  65. matrix_rageshake_container_extra_arguments: []
  66. # List of systemd services that matrix-rageshake.service depends on
  67. matrix_rageshake_systemd_required_services_list: "{{ [devture_systemd_docker_base_docker_service_name] if devture_systemd_docker_base_docker_service_name else [] }}"
  68. # List of systemd services that matrix-rageshake.service wants
  69. matrix_rageshake_systemd_wanted_services_list: []
  70. matrix_rageshake_config_api_prefix: "{{ matrix_rageshake_scheme }}://{{ matrix_rageshake_hostname }}{{ matrix_rageshake_path_prefix }}{{ '' if matrix_rageshake_path_prefix == '/' else '/' }}api/"
  71. # Default rageshake configuration template which covers the generic use case.
  72. # You can customize it by controlling the various variables inside it.
  73. #
  74. # For a more advanced customization, you can extend the default (see `matrix_rageshake_configuration_extension_yaml`)
  75. # or completely replace this variable with your own template.
  76. matrix_rageshake_configuration_yaml: "{{ lookup('template', 'templates/config.yml.j2') }}"
  77. matrix_rageshake_configuration_extension_yaml: |
  78. # Your custom YAML configuration for Synapse goes here.
  79. # This configuration extends the default starting configuration (`matrix_rageshake_configuration_yaml`).
  80. #
  81. # You can override individual variables from the default configuration, or introduce new ones.
  82. #
  83. # If you need something more special, you can take full control by
  84. # completely redefining `matrix_rageshake_configuration_yaml`.
  85. #
  86. # Example configuration extension follows:
  87. #
  88. # github_project_mappings:
  89. # my-app: octocat/HelloWorld
  90. matrix_rageshake_configuration_extension: "{{ matrix_rageshake_configuration_extension_yaml | from_yaml if matrix_rageshake_configuration_extension_yaml | from_yaml is mapping else {} }}"
  91. # Holds the final Synapse configuration (a combination of the default and its extension).
  92. # You most likely don't need to touch this variable. Instead, see `matrix_rageshake_configuration_yaml`.
  93. matrix_rageshake_configuration: "{{ matrix_rageshake_configuration_yaml | from_yaml | combine(matrix_rageshake_configuration_extension, recursive=True) }}"