Matrix Docker Ansible eploy
No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.
 
 

87 líneas
3.1 KiB

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