Matrix Docker Ansible eploy
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

96 строки
4.4 KiB

  1. # Sygnal is a reference Push Gateway for Matrix.
  2. # To make use of it for delivering push notificatins, you'll need to develop/build your own Matrix app.
  3. # Learn more here: https://github.com/matrix-org/sygnal
  4. matrix_sygnal_enabled: false
  5. matrix_sygnal_base_path: "{{ matrix_base_data_path }}/sygnal"
  6. matrix_sygnal_config_path: "{{ matrix_sygnal_base_path }}/config"
  7. matrix_sygnal_data_path: "{{ matrix_sygnal_base_path }}/data"
  8. matrix_sygnal_version: v0.9.0
  9. matrix_sygnal_docker_image: "{{ matrix_container_global_registry_prefix }}matrixdotorg/sygnal:{{ matrix_sygnal_version }}"
  10. matrix_sygnal_docker_image_force_pull: "{{ matrix_sygnal_docker_image.endswith(':latest') }}"
  11. # List of systemd services that matrix-sygnal.service depends on.
  12. matrix_sygnal_systemd_required_services_list: ['docker.service']
  13. # List of systemd services that matrix-sygnal.service wants
  14. matrix_sygnal_systemd_wanted_services_list: []
  15. # Controls whether the matrix-sygnal container exposes its HTTP port (tcp/6000 in the container).
  16. #
  17. # Takes an "<ip>:<port>" or "<port>" value (e.g. "127.0.0.1:6000"), or empty string to not expose.
  18. matrix_sygnal_container_http_host_bind_port: ''
  19. # A list of extra arguments to pass to the container
  20. matrix_sygnal_container_extra_arguments: []
  21. # Database-related configuration fields.
  22. #
  23. # To use SQLite, stick to these defaults.
  24. #
  25. # To use Postgres:
  26. # - change the engine (`matrix_sygnal_database_engine: 'postgres'`)
  27. # - adjust your database credentials via the `matrix_sygnal_postgres_*` variables
  28. matrix_sygnal_database_engine: 'sqlite'
  29. matrix_sygnal_sqlite_database_path_local: "{{ matrix_sygnal_data_path }}/sygnal.db"
  30. matrix_sygnal_sqlite_database_path_in_container: "/data/sygnal.db"
  31. matrix_sygnal_database_username: 'matrix_sygnal'
  32. matrix_sygnal_database_password: 'some-password'
  33. matrix_sygnal_database_hostname: 'matrix-postgres'
  34. matrix_sygnal_database_port: 5432
  35. matrix_sygnal_database_name: 'matrix_sygnal'
  36. matrix_sygnal_database_connection_string: 'postgres://{{ matrix_sygnal_database_username }}:{{ matrix_sygnal_database_password }}@{{ matrix_sygnal_database_hostname }}:{{ matrix_sygnal_database_port }}/{{ matrix_sygnal_database_name }}'
  37. # A map (dictionary) of apps instances that this server works with.
  38. #
  39. # Example configuration:
  40. #
  41. # matrix_sygnal_apps:
  42. # com.example.myapp.ios:
  43. # type: apns
  44. # # .. more configuration ..
  45. # com.example.myapp.android:
  46. # type: gcm
  47. # api_key: your_api_key_for_gcm
  48. # # .. more configuration ..
  49. #
  50. # The APNS configuration needs to reference some certificate files.
  51. # One can put these in the `matrix_sygnal_data_path` directory (`/matrix/sygnal/data`), mounted to `/data` in the container.
  52. # The `matrix_sygnal_apps` paths need to use the in-container path (`/data`).
  53. # To install these files via the playbook, one can use the `matrix-aux` role.
  54. # Examples and more details are available in `docs/configuring-playbook-sygnal.md`.
  55. matrix_sygnal_apps: []
  56. matrix_sygnal_metrics_prometheus_enabled: false
  57. # Default Sygnal configuration template which covers the generic use case.
  58. # You can customize it by controlling the various variables inside it.
  59. #
  60. # For a more advanced customization, you can extend the default (see `matrix_sygnal_configuration_extension_yaml`)
  61. # or completely replace this variable with your own template.
  62. matrix_sygnal_configuration_yaml: "{{ lookup('template', 'templates/sygnal.yaml.j2') }}"
  63. matrix_sygnal_configuration_extension_yaml: |
  64. # Your custom YAML configuration for Sygnal goes here.
  65. # This configuration extends the default starting configuration (`matrix_sygnal_configuration_yaml`).
  66. #
  67. # You can override individual variables from the default configuration, or introduce new ones.
  68. #
  69. # If you need something more special, you can take full control by
  70. # completely redefining `matrix_sygnal_configuration_yaml`.
  71. #
  72. # Example configuration extension follows:
  73. # metrics:
  74. # opentracing:
  75. # enabled: true
  76. matrix_sygnal_configuration_extension: "{{ matrix_sygnal_configuration_extension_yaml|from_yaml if matrix_sygnal_configuration_extension_yaml|from_yaml is mapping else {} }}"
  77. # Holds the final sygnal configuration (a combination of the default and its extension).
  78. # You most likely don't need to touch this variable. Instead, see `matrix_sygnal_configuration_yaml`.
  79. matrix_sygnal_configuration: "{{ matrix_sygnal_configuration_yaml|from_yaml|combine(matrix_sygnal_configuration_extension, recursive=True) }}"