Matrix Docker Ansible eploy
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

93 rivejä
3.4 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_twitter_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_twitter_homeserver_domain }}
  10. # Reachable URL of the Matrix homeserver
  11. homeserverUrl: {{ matrix_mx_puppet_twitter_homeserver_address }}
  12. {% if matrix_mx_puppet_twitter_login_shared_secret != '' %}
  13. loginSharedSecretMap:
  14. {{ matrix_domain }}: {{ matrix_mx_puppet_twitter_login_shared_secret }}
  15. {% endif %}
  16. twitter:
  17. consumerKey: "{{ matrix_mx_puppet_twitter_consumer_key }}"
  18. consumerSecret: "{{ matrix_mx_puppet_twitter_consumer_secret }}"
  19. accessToken: "{{ matrix_mx_puppet_twitter_access_token }}"
  20. accessTokenSecret: "{{ matrix_mx_puppet_twitter_access_token_secret }}"
  21. environment: "{{ matrix_mx_puppet_twitter_environment }}"
  22. server:
  23. url: "{{ matrix_mx_puppet_twitter_webhook_url }}"
  24. path: "{{ matrix_mx_puppet_twitter_webhook_path }}"
  25. presence:
  26. # Bridge Twitter online/offline status
  27. enabled: true
  28. # How often to send status to the homeserver in milliseconds
  29. interval: 500
  30. provisioning:
  31. # Regex of Matrix IDs allowed to use the puppet bridge
  32. whitelist: {{ matrix_mx_puppet_twitter_provisioning_whitelist|to_json }}
  33. # Allow a specific user
  34. #- "@user:server\\.com"
  35. # Allow users on a specific homeserver
  36. #- "@.*:yourserver\\.com"
  37. # Allow anyone
  38. #- ".*"
  39. # Regex of Matrix IDs forbidden from using the puppet bridge
  40. #blacklist:
  41. # Disallow a specific user
  42. #- "@user:server\\.com"
  43. # Disallow users on a specific homeserver
  44. #- "@.*:yourserver\\.com"
  45. blacklist: {{ matrix_mx_puppet_twitter_provisioning_blacklist|to_json }}
  46. # Shared secret for the provisioning API for use by integration managers.
  47. # If this is not set, the provisioning API will not be enabled.
  48. #sharedSecret: random string
  49. # Path prefix for the provisioning API. /v1 will be appended to the prefix automatically.
  50. apiPrefix: /_matrix/provision
  51. database:
  52. # Use Postgres as a database backend
  53. # If set, will be used instead of SQLite3
  54. # Connection string to connect to the Postgres instance
  55. # with username "user", password "pass", host "localhost" and database name "dbname".
  56. # Modify each value as necessary
  57. #connString: "postgres://user:pass@localhost/dbname?sslmode=disable"
  58. # Use SQLite3 as a database backend
  59. # The name of the database file
  60. filename: /data/database.db
  61. logging:
  62. # Log level of console output
  63. # Allowed values starting with most verbose:
  64. # silly, debug, verbose, info, warn, error
  65. console: info
  66. # Date and time formatting
  67. lineDateFormat: MMM-D HH:mm:ss.SSS
  68. # Logging files
  69. # Log files are rotated daily by default
  70. files:
  71. # Log file path
  72. - file: "/data/bridge.log"
  73. # Log level for this file
  74. # Allowed values starting with most verbose:
  75. # silly, debug, verbose, info, warn, error
  76. level: info
  77. # Date and time formatting
  78. datePattern: YYYY-MM-DD
  79. # Maximum number of logs to keep.
  80. # This can be a number of files or number of days.
  81. # If using days, add 'd' as a suffix
  82. maxFiles: 14d
  83. # Maximum size of the file after which it will rotate. This can be a
  84. # number of bytes, or units of kb, mb, and gb. If using the units, add
  85. # 'k', 'm', or 'g' as the suffix
  86. maxSize: 50m