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

142 строки
4.9 KiB

  1. #jinja2: lstrip_blocks: "True"
  2. bridge:
  3. # Address for the bridge to bind to; if running as a Docker container, you
  4. # probably want 0.0.0.0 here
  5. bindAddress: 0.0.0.0
  6. # Port to host the bridge on which your homeserver will connect to
  7. port: {{ matrix_mx_puppet_skype_appservice_port }}
  8. # Name of your homeserver
  9. domain: {{ matrix_domain }}
  10. # URL where the bridge can connect to your homeserver
  11. homeserverUrl: {{ matrix_mx_puppet_skype_homeserver_address }}
  12. # Optionally specify a different media URL used for the media store
  13. mediaURL: https://{{ matrix_server_fqn_matrix }}
  14. # This enabled automatic double-puppeting:
  15. # A map for shared secrets of the homeserver URL to the shared secret
  16. # See https://github.com/devture/matrix-synapse-shared-secret-auth
  17. #loginSharedSecretMap:
  18. # yourserver.com: supersecretsharedsecret
  19. {% if matrix_mx_puppet_skype_login_shared_secret != '' %}
  20. loginSharedSecretMap:
  21. {{ matrix_domain }}: {{ matrix_mx_puppet_skype_login_shared_secret }}
  22. {% endif %}
  23. # optionally override the display name of the bridge bot
  24. #displayname: Protocol Bot
  25. # optionally set the avatar of the bridge bot
  26. #avatarUrl: mxc://yourserver.com/somefile
  27. logging:
  28. # Log level of console output
  29. # Allowed values starting with most verbose:
  30. # silly, debug, verbose, info, warn, error
  31. console: info
  32. # Optionally, you can apply filters to the console logging
  33. #console:
  34. # level: info
  35. # enabled:
  36. # - Store
  37. # disabled:
  38. # - PresenceHandler
  39. # Date and time formatting
  40. lineDateFormat: MMM-D HH:mm:ss.SSS
  41. # Logging files
  42. # Log files are rotated daily by default
  43. files:
  44. # Log file path
  45. - file: "/data/bridge.log"
  46. # Log level for this file
  47. # Allowed values starting with most verbose:
  48. # silly, debug, verbose, info, warn, error
  49. level: info
  50. # Date and time formatting
  51. datePattern: YYYY-MM-DD
  52. # Maximum number of logs to keep.
  53. # This can be a number of files or number of days.
  54. # If using days, add 'd' as a suffix
  55. maxFiles: 14d
  56. # Maximum size of the file after which it will rotate. This can be a
  57. # number of bytes, or units of kb, mb, and gb. If using the units, add
  58. # 'k', 'm', or 'g' as the suffix
  59. maxSize: 50m
  60. # Optionally enable/disable logging for certain modules
  61. #disabled:
  62. # - PresenceHandler
  63. # - module: bot-sdk-MatrixLiteClient
  64. # regex: /_matrix/client/r0/presence/ # this regex needs to match to disable the log
  65. #enabled:
  66. # - Store
  67. database:
  68. {% if matrix_mx_puppet_skype_database_engine == 'postgres' %}
  69. # Use Postgres as a database backend
  70. # If set, will be used instead of SQLite3
  71. # Connection string to connect to the Postgres instance
  72. # with username "user", password "pass", host "localhost" and database name "dbname".
  73. # Modify each value as necessary
  74. connString: {{ matrix_mx_puppet_skype_database_connection_string|to_json }}
  75. {% else %}
  76. # Use SQLite3 as a database backend
  77. # The name of the database file
  78. filename: {{ matrix_mx_puppet_skype_sqlite_database_path_in_container|to_json }}
  79. {% endif %}
  80. provisioning:
  81. # Regex of Matrix IDs allowed to use the puppet bridge
  82. whitelist: {{ matrix_mx_puppet_skype_provisioning_whitelist|to_json }}
  83. # Allow a specific user
  84. #- "@user:server\\.com"
  85. # Allow users on a specific homeserver
  86. #- "@.*:yourserver\\.com"
  87. # Allow anyone
  88. #- ".*"
  89. # Regex of Matrix IDs forbidden from using the puppet bridge
  90. #blacklist:
  91. # Disallow a specific user
  92. #- "@user:server\\.com"
  93. # Disallow users on a specific homeserver
  94. #- "@.*:yourserver\\.com"
  95. blacklist: {{ matrix_mx_puppet_skype_provisioning_blacklist|to_json }}
  96. presence:
  97. # Bridge online/offline status
  98. enabled: true
  99. # How often to send status to the homeserver in milliseconds
  100. interval: 500
  101. # if the im.vector.user_status state setting should be diabled
  102. #disableStatusState: false
  103. # A blacklist of remote user IDs for the im.vector.user_status state setting
  104. #statusStateBlacklist:
  105. # - baduser
  106. relay:
  107. # Regex of Matrix IDs to allow to use the relay mode
  108. # Same format as in provisioning
  109. #whitelist:
  110. #- "@.*:yourserver\\.com"
  111. whitelist: {{ matrix_mx_puppet_skype_relay_whitelist|to_json }}
  112. #blacklist:
  113. #- "@user:yourserver\\.com"
  114. blacklist: {{ matrix_mx_puppet_skype_relay_blacklist|to_json }}
  115. # Map certain homeserver URLs to the C-S API endpoint
  116. # Useful for double-puppeting if .well-known is unavailable for some reason
  117. #homeserverUrlMap:
  118. # yourserver.com: http://localhost:1234
  119. namePatterns:
  120. # Override the protocols set default name patterns
  121. # Which variables are available depends on protocol implementation
  122. user: :name
  123. room: :name
  124. limits:
  125. # Up to how many users should be auto-joined on room creation? -1 to disable
  126. # Defaults to 200
  127. maxAutojoinUsers: 200
  128. # How long the delay between two autojoin users should be, in millisectonds.
  129. # Defaults to 5000
  130. roomUserAutojoinDelay: 5000