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.
 
 

138 wiersze
7.0 KiB

  1. ---
  2. # Fluffygate is a reference Push Gateway for Matrix.
  3. # To make use of it for delivering push notificatins, you'll need to develop/build your own Matrix app.
  4. # Project source code URL: https://github.com/matrix-org/fluffygate
  5. matrix_fluffygate_enabled: true
  6. matrix_fluffygate_identifier: 'matrix-fluffygate'
  7. # App information
  8. matrix_fluffygate_app_name: "Fluffygate"
  9. matrix_fluffygate_app_website: "https://example.com"
  10. matrix_fluffygate_debug_logs: false
  11. # Notification settings
  12. matrix_fluffygate_notification_title: "{count} new messages"
  13. matrix_fluffygate_notification_body: "{body}"
  14. # Android notification options
  15. matrix_fluffygate_android_notification_options:
  16. priority: high
  17. notification:
  18. sound: "default"
  19. icon: "notifications_icon"
  20. tag: "default_notification"
  21. # APNS notification options
  22. matrix_fluffygate_apns_notification_options:
  23. headers:
  24. apns-priority: "10"
  25. payload:
  26. aps:
  27. sound: "default"
  28. badge: "{count}"
  29. mutable-content: 1
  30. matrix_fluffygate_firebase_key: '' # JSON key file contents
  31. matrix_fluffygate_firebase_project: '' # Firebase project ID
  32. # The hostname at which Fluffygate is served.
  33. matrix_fluffygate_hostname: ''
  34. # The path at which Fluffygate is exposed.
  35. # This value must either be `/` or not end with a slash (e.g. `/fluffygate`).
  36. matrix_fluffygate_path_prefix: /
  37. # renovate: datasource=docker depName=matrixdotorg/fluffygate
  38. matrix_fluffygate_version: 1.0.3
  39. matrix_fluffygate_base_path: "{{ matrix_base_data_path }}/fluffygate"
  40. matrix_fluffygate_config_path: "{{ matrix_fluffygate_base_path }}/config"
  41. matrix_fluffygate_data_path: "{{ matrix_fluffygate_base_path }}/data"
  42. # List of systemd services that matrix-fluffygate.service depends on.
  43. matrix_fluffygate_systemd_required_services_list: "{{ [devture_systemd_docker_base_docker_service_name] if devture_systemd_docker_base_docker_service_name else [] }}"
  44. # List of systemd services that matrix-fluffygate.service wants
  45. matrix_fluffygate_systemd_wanted_services_list: []
  46. matrix_fluffygate_docker_image: "{{ matrix_fluffygate_docker_image_registry_prefix }}djangoflow/fluffygate:{{ matrix_fluffygate_docker_image_tag }}"
  47. matrix_fluffygate_docker_image_tag: "{{ matrix_fluffygate_version }}"
  48. matrix_fluffygate_docker_image_registry_prefix: "{{ matrix_container_global_registry_prefix }}"
  49. matrix_fluffygate_docker_image_force_pull: "{{ matrix_fluffygate_docker_image.endswith(':latest') }}"
  50. # The base container network. It will be auto-created by this role if it doesn't exist already.
  51. matrix_fluffygate_container_network: "{{ traefik_container_network }}"
  52. # A list of additional container networks that the container would be connected to.
  53. # The role does not create these networks, so make sure they already exist.
  54. # Use this to expose this container to another reverse proxy, which runs in a different container network.
  55. matrix_fluffygate_container_additional_networks: []
  56. # Controls whether the matrix-fluffygate container exposes its HTTP port (tcp/6000 in the container).
  57. #
  58. # Takes an "<ip>:<port>" or "<port>" value (e.g. "127.0.0.1:6000"), or empty string to not expose.
  59. matrix_fluffygate_container_http_host_bind_port: ''
  60. # matrix_fluffygate_container_labels_traefik_enabled controls whether labels to assist a Traefik reverse-proxy will be attached to the container.
  61. # See `../templates/labels.j2` for details.
  62. #
  63. # To inject your own other container labels, see `matrix_fluffygate_container_labels_additional_labels`.
  64. matrix_fluffygate_container_labels_traefik_enabled: true
  65. matrix_fluffygate_container_labels_traefik_docker_network: "{{ matrix_fluffygate_container_network }}"
  66. matrix_fluffygate_container_labels_traefik_hostname: "{{ matrix_fluffygate_hostname }}"
  67. # The path prefix must either be `/` or not end with a slash (e.g. `/fluffygate`).
  68. matrix_fluffygate_container_labels_traefik_path_prefix: "{{ matrix_fluffygate_path_prefix }}"
  69. matrix_fluffygate_container_labels_traefik_rule: "Host(`{{ matrix_fluffygate_container_labels_traefik_hostname }}`){% if matrix_fluffygate_container_labels_traefik_path_prefix != '/' %} && PathPrefix(`{{ matrix_fluffygate_container_labels_traefik_path_prefix }}`){% endif %}"
  70. matrix_fluffygate_container_labels_traefik_priority: 0
  71. matrix_fluffygate_container_labels_traefik_entrypoints: web-secure
  72. matrix_fluffygate_container_labels_traefik_tls: "{{ matrix_fluffygate_container_labels_traefik_entrypoints != 'web' }}"
  73. matrix_fluffygate_container_labels_traefik_tls_certResolver: default # noqa var-naming
  74. # Controls which additional headers to attach to all HTTP responses.
  75. # To add your own headers, use `matrix_fluffygate_container_labels_traefik_additional_response_headers_custom`
  76. matrix_fluffygate_container_labels_traefik_additional_response_headers: "{{ matrix_fluffygate_container_labels_traefik_additional_response_headers_auto | combine(matrix_fluffygate_container_labels_traefik_additional_response_headers_custom) }}"
  77. matrix_fluffygate_container_labels_traefik_additional_response_headers_auto: {}
  78. matrix_fluffygate_container_labels_traefik_additional_response_headers_custom: {}
  79. # matrix_fluffygate_container_labels_additional_labels contains a multiline string with additional labels to add to the container label file.
  80. # See `../templates/labels.j2` for details.
  81. #
  82. # Example:
  83. # matrix_fluffygate_container_labels_additional_labels: |
  84. # my.label=1
  85. # another.label="here"
  86. matrix_fluffygate_container_labels_additional_labels: ''
  87. # A list of extra arguments to pass to the container
  88. matrix_fluffygate_container_extra_arguments: []
  89. matrix_fluffygate_metrics_prometheus_enabled: false
  90. # Default Fluffygate configuration template which covers the generic use case.
  91. # You can customize it by controlling the various variables inside it.
  92. #
  93. # For a more advanced customization, you can extend the default (see `matrix_fluffygate_configuration_extension_yaml`)
  94. # or completely replace this variable with your own template.
  95. matrix_fluffygate_configuration_yaml: "{{ lookup('template', 'templates/config.yaml.j2') }}"
  96. matrix_fluffygate_configuration_extension_yaml: |
  97. # Your custom YAML configuration for Fluffygate goes here.
  98. # This configuration extends the default starting configuration (`matrix_fluffygate_configuration_yaml`).
  99. #
  100. # You can override individual variables from the default configuration, or introduce new ones.
  101. #
  102. # If you need something more special, you can take full control by
  103. # completely redefining `matrix_fluffygate_configuration_yaml`.
  104. #
  105. # Example configuration extension follows:
  106. # metrics:
  107. # opentracing:
  108. # enabled: true
  109. matrix_fluffygate_configuration_extension: "{{ matrix_fluffygate_configuration_extension_yaml | from_yaml if matrix_fluffygate_configuration_extension_yaml | from_yaml is mapping else {} }}"
  110. # Holds the final fluffygate configuration (a combination of the default and its extension).
  111. # You most likely don't need to touch this variable. Instead, see `matrix_fluffygate_configuration_yaml`.
  112. matrix_fluffygate_configuration: "{{ matrix_fluffygate_configuration_yaml | from_yaml | combine(matrix_fluffygate_configuration_extension, recursive=True) }}"