Matrix Docker Ansible eploy
Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
 
 

93 righe
3.3 KiB

  1. {#
  2. SPDX-FileCopyrightText: 2024 MDAD Team and contributors
  3. SPDX-License-Identifier: AGPL-3.0-or-later
  4. #}
  5. #jinja2: lstrip_blocks: "True"
  6. bridge:
  7. # Port to host the bridge on
  8. # Used for communication between the homeserver and the bridge
  9. port: {{ matrix_mx_puppet_groupme_appservice_port }}
  10. # The host connections to the bridge's webserver are allowed from
  11. bindAddress: 0.0.0.0
  12. # Public domain of the homeserver
  13. domain: {{ matrix_mx_puppet_groupme_homeserver_domain }}
  14. # Reachable URL of the Matrix homeserver
  15. homeserverUrl: {{ matrix_mx_puppet_groupme_homeserver_address }}
  16. {% if matrix_mx_puppet_groupme_login_shared_secret != '' %}
  17. loginSharedSecretMap:
  18. {{ matrix_domain }}: {{ matrix_mx_puppet_groupme_login_shared_secret }}
  19. {% endif %}
  20. # Display name of the bridge bot
  21. displayname: GroupMe Puppet Bridge
  22. # Optionally specify a different media URL used for the media store
  23. #
  24. # This is where GroupMe will download user profile pictures and media
  25. # from
  26. #mediaUrl: https://example.org
  27. presence:
  28. # Bridge GroupMe online/offline status
  29. enabled: {{ matrix_mx_puppet_groupme_presence_enabled | to_json }}
  30. # How often to send status to the homeserver in milliseconds
  31. interval: {{ matrix_mx_puppet_groupme_presence_enabled | to_json }}
  32. provisioning:
  33. # Regex of Matrix IDs allowed to use the puppet bridge
  34. whitelist: {{ matrix_mx_puppet_groupme_provisioning_whitelist|to_json }}
  35. # Allow a specific user
  36. #- "@user:example\\.com"
  37. # Allow users on a specific homeserver
  38. #- "@.*:example\\.com"
  39. # Allow anyone
  40. #- ".*"
  41. # Regex of Matrix IDs forbidden from using the puppet bridge
  42. #blacklist:
  43. # Disallow a specific user
  44. #- "@user:example\\.com"
  45. # Disallow users on a specific homeserver
  46. #- "@.*:example\\.com"
  47. blacklist: {{ matrix_mx_puppet_groupme_provisioning_blacklist|to_json }}
  48. relay:
  49. # Regex of Matrix IDs who are allowed to use the bridge in relay mode.
  50. # Relay mode is when a single GroupMe bot account relays messages of
  51. # multiple Matrix users
  52. #
  53. # Same format as in provisioning
  54. whitelist: {{ matrix_mx_puppet_groupme_provisioning_whitelist|to_json }}
  55. blacklist: {{ matrix_mx_puppet_groupme_provisioning_blacklist|to_json }}
  56. selfService:
  57. # Regex of Matrix IDs who are allowed to use bridge self-servicing (plumbed rooms)
  58. #
  59. # Same format as in provisioning
  60. whitelist: {{ matrix_mx_puppet_groupme_provisioning_whitelist|to_json }}
  61. blacklist: {{ matrix_mx_puppet_groupme_provisioning_blacklist|to_json }}
  62. database:
  63. {% if matrix_mx_puppet_groupme_database_engine == 'postgres' %}
  64. # Use Postgres as a database backend
  65. # If set, will be used instead of SQLite3
  66. # Connection string to connect to the Postgres instance
  67. # with username "user", password "pass", host "localhost" and database name "dbname".
  68. # Modify each value as necessary
  69. connString: {{ matrix_mx_puppet_groupme_database_connection_string|to_json }}
  70. {% else %}
  71. # Use SQLite3 as a database backend
  72. # The name of the database file
  73. filename: {{ matrix_mx_puppet_groupme_sqlite_database_path_in_container|to_json }}
  74. {% endif %}
  75. logging:
  76. # Log level of console output
  77. # Allowed values starting with most verbose:
  78. # silly, debug, verbose, info, warn, error
  79. console: warn
  80. # Date and time formatting
  81. lineDateFormat: MMM-D HH:mm:ss.SSS
  82. # Logging files
  83. # Log files are rotated daily by default
  84. files: []