Matrix Docker Ansible eploy
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
 
 

119 rader
4.0 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. database:
  45. {% if matrix_mx_puppet_skype_database_engine == 'postgres' %}
  46. # Use Postgres as a database backend
  47. # If set, will be used instead of SQLite3
  48. # Connection string to connect to the Postgres instance
  49. # with username "user", password "pass", host "localhost" and database name "dbname".
  50. # Modify each value as necessary
  51. connString: {{ matrix_mx_puppet_skype_database_connection_string|to_json }}
  52. {% else %}
  53. # Use SQLite3 as a database backend
  54. # The name of the database file
  55. filename: {{ matrix_mx_puppet_skype_sqlite_database_path_in_container|to_json }}
  56. {% endif %}
  57. provisioning:
  58. # Regex of Matrix IDs allowed to use the puppet bridge
  59. whitelist: {{ matrix_mx_puppet_skype_provisioning_whitelist|to_json }}
  60. # Allow a specific user
  61. #- "@user:server\\.com"
  62. # Allow users on a specific homeserver
  63. #- "@.*:yourserver\\.com"
  64. # Allow anyone
  65. #- ".*"
  66. # Regex of Matrix IDs forbidden from using the puppet bridge
  67. #blacklist:
  68. # Disallow a specific user
  69. #- "@user:server\\.com"
  70. # Disallow users on a specific homeserver
  71. #- "@.*:yourserver\\.com"
  72. blacklist: {{ matrix_mx_puppet_skype_provisioning_blacklist|to_json }}
  73. presence:
  74. # Bridge online/offline status
  75. enabled: true
  76. # How often to send status to the homeserver in milliseconds
  77. interval: 500
  78. # if the im.vector.user_status state setting should be diabled
  79. #disableStatusState: false
  80. # A blacklist of remote user IDs for the im.vector.user_status state setting
  81. #statusStateBlacklist:
  82. # - baduser
  83. relay:
  84. # Regex of Matrix IDs to allow to use the relay mode
  85. # Same format as in provisioning
  86. #whitelist:
  87. #- "@.*:yourserver\\.com"
  88. whitelist: {{ matrix_mx_puppet_skype_relay_whitelist|to_json }}
  89. #blacklist:
  90. #- "@user:yourserver\\.com"
  91. blacklist: {{ matrix_mx_puppet_skype_relay_blacklist|to_json }}
  92. # Map certain homeserver URLs to the C-S API endpoint
  93. # Useful for double-puppeting if .well-known is unavailable for some reason
  94. #homeserverUrlMap:
  95. # yourserver.com: http://localhost:1234
  96. namePatterns:
  97. # Override the protocols set default name patterns
  98. # Which variables are available depends on protocol implementation
  99. user: :name
  100. room: :name
  101. limits:
  102. # Up to how many users should be auto-joined on room creation? -1 to disable
  103. # Defaults to 200
  104. maxAutojoinUsers: 200
  105. # How long the delay between two autojoin users should be, in millisectonds.
  106. # Defaults to 5000
  107. roomUserAutojoinDelay: 5000