Matrix Docker Ansible eploy
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

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