Matrix Docker Ansible eploy
25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.
 
 

83 satır
4.4 KiB

  1. # matrix-appservice-webhooks is a Matrix <-> webhook bridge
  2. # See: https://github.com/turt2live/matrix-appservice-webhooks
  3. matrix_appservice_webhooks_enabled: true
  4. matrix_appservice_webhooks_container_image_self_build: false
  5. matrix_appservice_webhooks_container_image_self_build_repo: "https://github.com/turt2live/matrix-appservice-webhooks"
  6. matrix_appservice_webhooks_container_image_self_build_repo_version: "{{ 'master' if matrix_appservice_webhooks_version == 'latest' else matrix_appservice_webhooks_version }}"
  7. matrix_appservice_webhooks_container_image_self_build_repo_dockerfile_path: "Dockerfile"
  8. matrix_appservice_webhooks_version: latest
  9. matrix_appservice_webhooks_docker_image: "{{ matrix_appservice_webhooks_docker_image_name_prefix }}turt2live/matrix-appservice-webhooks:{{ matrix_appservice_webhooks_version }}"
  10. matrix_appservice_webhooks_docker_image_name_prefix: "{{ 'localhost/' if matrix_appservice_webhooks_container_image_self_build else matrix_container_global_registry_prefix }}"
  11. matrix_appservice_webhooks_docker_image_force_pull: "{{ matrix_appservice_webhooks_docker_image.endswith(':latest') }}"
  12. matrix_appservice_webhooks_base_path: "{{ matrix_base_data_path }}/appservice-webhooks"
  13. matrix_appservice_webhooks_config_path: "{{ matrix_appservice_webhooks_base_path }}/config"
  14. matrix_appservice_webhooks_data_path: "{{ matrix_appservice_webhooks_base_path }}/data"
  15. matrix_appservice_webhooks_docker_src_files_path: "{{ matrix_appservice_webhooks_base_path }}/docker-src"
  16. # If nginx-proxy is disabled, the bridge itself expects its endpoint to be on its own domain (e.g. "localhost:6789")
  17. matrix_appservice_webhooks_public_endpoint: /appservice-webhooks
  18. matrix_appservice_webhooks_inbound_uri_prefix: "{{ matrix_homeserver_url }}{{ matrix_appservice_webhooks_public_endpoint }}"
  19. matrix_appservice_webhooks_bot_name: 'webhookbot'
  20. matrix_appservice_webhooks_user_prefix: '_webhook'
  21. # Controls the webhooks_PORT and MATRIX_PORT of the installation
  22. matrix_appservice_webhooks_matrix_port: 6789
  23. # Controls whether the appservice-webhooks container exposes its HTTP port (tcp/6789 in the container).
  24. #
  25. # Takes an "<ip>:<port>" or "<port>" value (e.g. "127.0.0.1:9999"), or empty string to not expose.
  26. matrix_appservice_webhooks_container_http_host_bind_port: ''
  27. matrix_appservice_webhooks_homeserver_media_url: "{{ matrix_server_fqn_matrix }}"
  28. matrix_appservice_webhooks_homeserver_url: ""
  29. matrix_appservice_webhooks_homeserver_domain: "{{ matrix_domain }}"
  30. matrix_appservice_webhooks_appservice_url: 'http://matrix-appservice-webhooks'
  31. # A list of extra arguments to pass to the container
  32. matrix_appservice_webhooks_container_extra_arguments: []
  33. # List of systemd services that matrix-appservice-webhooks.service depends on.
  34. matrix_appservice_webhooks_systemd_required_services_list: ['docker.service', 'matrix-synapse.service']
  35. # List of systemd services that matrix-appservice-webhooks.service wants
  36. matrix_appservice_webhooks_systemd_wanted_services_list: []
  37. matrix_appservice_webhooks_appservice_token: ''
  38. matrix_appservice_webhooks_homeserver_token: ''
  39. matrix_appservice_webhooks_id_token: ''
  40. matrix_appservice_webhooks_api_secret: ''
  41. # Logging information (info and verbose is available) default is: info
  42. matrix_appservice_webhooks_log_level: 'info'
  43. matrix_appservice_webhooks_configuration_yaml: "{{ lookup('template', 'templates/config.yaml.j2') }}"
  44. matrix_appservice_webhooks_configuration_extension_yaml: |
  45. #
  46. matrix_appservice_webhooks_configuration_extension: "{{ matrix_appservice_webhooks_configuration_extension_yaml|from_yaml if matrix_appservice_webhooks_configuration_extension_yaml|from_yaml else {} }}"
  47. matrix_appservice_webhooks_configuration: "{{ matrix_appservice_webhooks_configuration_yaml|from_yaml|combine(matrix_appservice_webhooks_configuration_extension, recursive=True) }}"
  48. matrix_appservice_webhooks_registration_yaml: |
  49. id: "{{ matrix_appservice_webhooks_id_token }}"
  50. hs_token: "{{ matrix_appservice_webhooks_homeserver_token }}"
  51. as_token: "{{ matrix_appservice_webhooks_appservice_token }}"
  52. namespaces:
  53. users:
  54. - exclusive: true
  55. regex: '^@{{ matrix_appservice_webhooks_user_prefix | regex_escape }}.*:{{ matrix_domain | regex_escape }}$'
  56. aliases: []
  57. rooms: []
  58. url: "{{ matrix_appservice_webhooks_appservice_url }}:{{ matrix_appservice_webhooks_matrix_port }}"
  59. sender_localpart: _webhook
  60. rate_limited: false
  61. protocols: null
  62. matrix_appservice_webhooks_registration: "{{ matrix_appservice_webhooks_registration_yaml|from_yaml }}"