Matrix Docker Ansible eploy
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
 
 

139 wiersze
4.8 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. # Use Postgres as a database backend
  69. # If set, will be used instead of SQLite3
  70. # Connection string to connect to the Postgres instance
  71. # with username "user", password "pass", host "localhost" and database name "dbname".
  72. # Modify each value as necessary
  73. #connString: "postgres://user:pass@localhost/dbname?sslmode=disable"
  74. # Use SQLite3 as a database backend
  75. # The name of the database file
  76. filename: /data/database.db
  77. provisioning:
  78. # Regex of Matrix IDs allowed to use the puppet bridge
  79. whitelist: {{ matrix_mx_puppet_skype_provisioning_whitelist|to_json }}
  80. # Allow a specific user
  81. #- "@user:server\\.com"
  82. # Allow users on a specific homeserver
  83. #- "@.*:yourserver\\.com"
  84. # Allow anyone
  85. #- ".*"
  86. # Regex of Matrix IDs forbidden from using the puppet bridge
  87. #blacklist:
  88. # Disallow a specific user
  89. #- "@user:server\\.com"
  90. # Disallow users on a specific homeserver
  91. #- "@.*:yourserver\\.com"
  92. blacklist: {{ matrix_mx_puppet_skype_provisioning_blacklist|to_json }}
  93. presence:
  94. # Bridge online/offline status
  95. enabled: true
  96. # How often to send status to the homeserver in milliseconds
  97. interval: 500
  98. # if the im.vector.user_status state setting should be diabled
  99. #disableStatusState: false
  100. # A blacklist of remote user IDs for the im.vector.user_status state setting
  101. #statusStateBlacklist:
  102. # - baduser
  103. relay:
  104. # Regex of Matrix IDs to allow to use the relay mode
  105. # Same format as in provisioning
  106. #whitelist:
  107. #- "@.*:yourserver\\.com"
  108. whitelist: {{ matrix_mx_puppet_skype_relay_whitelist|to_json }}
  109. #blacklist:
  110. #- "@user:yourserver\\.com"
  111. blacklist: {{ matrix_mx_puppet_skype_relay_blacklist|to_json }}
  112. # Map certain homeserver URLs to the C-S API endpoint
  113. # Useful for double-puppeting if .well-known is unavailable for some reason
  114. #homeserverUrlMap:
  115. # yourserver.com: http://localhost:1234
  116. namePatterns:
  117. # Override the protocols set default name patterns
  118. # Which variables are available depends on protocol implementation
  119. user: :name
  120. room: :name
  121. limits:
  122. # Up to how many users should be auto-joined on room creation? -1 to disable
  123. # Defaults to 200
  124. maxAutojoinUsers: 200
  125. # How long the delay between two autojoin users should be, in millisectonds.
  126. # Defaults to 5000
  127. roomUserAutojoinDelay: 5000