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

73 строки
3.7 KiB

  1. # mautrix-hangouts is a Matrix <-> Hangouts bridge
  2. # See: https://github.com/tulir/mautrix-hangouts
  3. matrix_mautrix_hangouts_enabled: true
  4. matrix_mautrix_hangouts_container_image_self_build: false
  5. # See: https://mau.dev/tulir/mautrix-hangouts/container_registry
  6. matrix_mautrix_hangouts_docker_image: "dock.mau.dev/tulir/mautrix-hangouts:latest"
  7. matrix_mautrix_hangouts_docker_image_force_pull: "{{ matrix_mautrix_hangouts_docker_image.endswith(':latest') }}"
  8. matrix_mautrix_hangouts_base_path: "{{ matrix_base_data_path }}/mautrix-hangouts"
  9. matrix_mautrix_hangouts_config_path: "{{ matrix_mautrix_hangouts_base_path }}/config"
  10. matrix_mautrix_hangouts_data_path: "{{ matrix_mautrix_hangouts_base_path }}/data"
  11. matrix_mautrix_hangouts_docker_src_files_path: "{{ matrix_mautrix_hangouts_base_path }}/docker-src"
  12. matrix_mautrix_hangouts_public_endpoint: '/mautrix-hangouts'
  13. matrix_mautrix_hangouts_homeserver_address: 'http://matrix-synapse:8008'
  14. matrix_mautrix_hangouts_homeserver_domain: '{{ matrix_domain }}'
  15. matrix_mautrix_hangouts_appservice_address: 'http://matrix-mautrix-hangouts:8080'
  16. # A list of extra arguments to pass to the container
  17. matrix_mautrix_hangouts_container_extra_arguments: []
  18. # List of systemd services that matrix-mautrix-hangouts.service depends on.
  19. matrix_mautrix_hangouts_systemd_required_services_list: ['docker.service']
  20. # List of systemd services that matrix-mautrix-hangouts.service wants
  21. matrix_mautrix_hangouts_systemd_wanted_services_list: []
  22. matrix_mautrix_hangouts_appservice_token: ''
  23. matrix_mautrix_hangouts_homeserver_token: ''
  24. # Can be set to enable automatic double-puppeting via Shared Secret Auth (https://github.com/devture/matrix-synapse-shared-secret-auth).
  25. matrix_mautrix_hangouts_login_shared_secret: ''
  26. # Default configuration template which covers the generic use case.
  27. # You can customize it by controlling the various variables inside it.
  28. #
  29. # For a more advanced customization, you can extend the default (see `matrix_mautrix_hangouts_configuration_extension_yaml`)
  30. # or completely replace this variable with your own template.
  31. matrix_mautrix_hangouts_configuration_yaml: "{{ lookup('template', 'templates/config.yaml.j2') }}"
  32. matrix_mautrix_hangouts_configuration_extension_yaml: |
  33. # Your custom YAML configuration goes here.
  34. # This configuration extends the default starting configuration (`matrix_mautrix_hangouts_configuration_yaml`).
  35. #
  36. # You can override individual variables from the default configuration, or introduce new ones.
  37. #
  38. # If you need something more special, you can take full control by
  39. # completely redefining `matrix_mautrix_hangouts_configuration_yaml`.
  40. matrix_mautrix_hangouts_configuration_extension: "{{ matrix_mautrix_hangouts_configuration_extension_yaml|from_yaml if matrix_mautrix_hangouts_configuration_extension_yaml|from_yaml is mapping else {} }}"
  41. # Holds the final configuration (a combination of the default and its extension).
  42. # You most likely don't need to touch this variable. Instead, see `matrix_mautrix_hangouts_configuration_yaml`.
  43. matrix_mautrix_hangouts_configuration: "{{ matrix_mautrix_hangouts_configuration_yaml|from_yaml|combine(matrix_mautrix_hangouts_configuration_extension, recursive=True) }}"
  44. matrix_mautrix_hangouts_registration_yaml: |
  45. id: hangouts
  46. as_token: "{{ matrix_mautrix_hangouts_appservice_token }}"
  47. hs_token: "{{ matrix_mautrix_hangouts_homeserver_token }}"
  48. namespaces:
  49. users:
  50. - exclusive: true
  51. regex: '^@hangouts_.+:{{ matrix_mautrix_hangouts_homeserver_domain|regex_escape }}$'
  52. url: {{ matrix_mautrix_hangouts_appservice_address }}
  53. sender_localpart: hangoutsbot
  54. rate_limited: false
  55. matrix_mautrix_hangouts_registration: "{{ matrix_mautrix_hangouts_registration_yaml|from_yaml }}"