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 lines
3.5 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_slack_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_slack_homeserver_domain }}
  10. # Reachable URL of the Matrix homeserver
  11. homeserverUrl: {{ matrix_mx_puppet_slack_homeserver_address }}
  12. # Slack OAuth settings. Create a slack app at https://api.slack.com/apps
  13. oauth:
  14. enabled: true
  15. # Slack app credentials.
  16. # N.B. This must be quoted so YAML wouldn't parse it as a float.
  17. clientId: "{{ matrix_mx_puppet_slack_client_id }}"
  18. clientSecret: {{ matrix_mx_puppet_slack_client_secret }}
  19. # Path where to listen for OAuth redirect callbacks.
  20. redirectPath: {{ matrix_mx_puppet_slack_redirect_path }}
  21. # Set up proxying from https://your.domain/redirect_path to http://bindAddress:port/redirect_path,
  22. # then set this field and the Slack app redirect URI field to the former.
  23. redirectUri: {{ matrix_mx_puppet_slack_redirect_uri }}
  24. presence:
  25. # Bridge Discord online/offline status
  26. enabled: true
  27. # How often to send status to the homeserver in milliseconds
  28. interval: 500
  29. provisioning:
  30. # Regex of Matrix IDs allowed to use the puppet bridge
  31. whitelist: {{ matrix_mx_puppet_slack_provisioning_whitelist|to_json }}
  32. # Allow a specific user
  33. #- "@user:server\\.com"
  34. # Allow users on a specific homeserver
  35. #- "@.*:yourserver\\.com"
  36. # Allow anyone
  37. #- ".*"
  38. # Regex of Matrix IDs forbidden from using the puppet bridge
  39. #blacklist:
  40. # Disallow a specific user
  41. #- "@user:server\\.com"
  42. # Disallow users on a specific homeserver
  43. #- "@.*:yourserver\\.com"
  44. blacklist: {{ matrix_mx_puppet_slack_provisioning_blacklist|to_json }}
  45. # Shared secret for the provisioning API for use by integration managers.
  46. # If this is not set, the provisioning API will not be enabled.
  47. #sharedSecret: random string
  48. # Path prefix for the provisioning API. /v1 will be appended to the prefix automatically.
  49. apiPrefix: /_matrix/provision
  50. database:
  51. # Use Postgres as a database backend
  52. # If set, will be used instead of SQLite3
  53. # Connection string to connect to the Postgres instance
  54. # with username "user", password "pass", host "localhost" and database name "dbname".
  55. # Modify each value as necessary
  56. #connString: "postgres://user:pass@localhost/dbname?sslmode=disable"
  57. # Use SQLite3 as a database backend
  58. # The name of the database file
  59. filename: /data/database.db
  60. logging:
  61. # Log level of console output
  62. # Allowed values starting with most verbose:
  63. # silly, debug, verbose, info, warn, error
  64. console: info
  65. # Date and time formatting
  66. lineDateFormat: MMM-D HH:mm:ss.SSS
  67. # Logging files
  68. # Log files are rotated daily by default
  69. files:
  70. # Log file path
  71. - file: "/data/bridge.log"
  72. # Log level for this file
  73. # Allowed values starting with most verbose:
  74. # silly, debug, verbose, info, warn, error
  75. level: info
  76. # Date and time formatting
  77. datePattern: YYYY-MM-DD
  78. # Maximum number of logs to keep.
  79. # This can be a number of files or number of days.
  80. # If using days, add 'd' as a suffix
  81. maxFiles: 14d
  82. # Maximum size of the file after which it will rotate. This can be a
  83. # number of bytes, or units of kb, mb, and gb. If using the units, add
  84. # 'k', 'm', or 'g' as the suffix
  85. maxSize: 50m