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.
 
 

80 lines
2.9 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. {% if matrix_mx_puppet_slack_login_shared_secret != '' %}
  13. loginSharedSecretMap:
  14. {{ matrix_domain }}: {{ matrix_mx_puppet_slack_login_shared_secret }}
  15. {% endif %}
  16. # Slack OAuth settings. Create a slack app at https://api.slack.com/apps
  17. oauth:
  18. enabled: true
  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. {% if matrix_mx_puppet_slack_database_engine == 'postgres' %}
  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: {{ matrix_mx_puppet_slack_database_connection_string|to_json }}
  58. {% else %}
  59. # Use SQLite3 as a database backend
  60. # The name of the database file
  61. filename: {{ matrix_mx_puppet_slack_sqlite_database_path_in_container|to_json }}
  62. {% endif %}
  63. logging:
  64. # Log level of console output
  65. # Allowed values starting with most verbose:
  66. # silly, debug, verbose, info, warn, error
  67. console: info
  68. # Date and time formatting
  69. lineDateFormat: MMM-D HH:mm:ss.SSS
  70. # Logging files
  71. # Log files are rotated daily by default
  72. files: []