Matrix Docker Ansible eploy
25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.
 
 

84 satır
3.1 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. # Slack app credentials.
  20. # N.B. This must be quoted so YAML wouldn't parse it as a float.
  21. clientId: "{{ matrix_mx_puppet_slack_client_id }}"
  22. clientSecret: {{ matrix_mx_puppet_slack_client_secret }}
  23. # Path where to listen for OAuth redirect callbacks.
  24. redirectPath: {{ matrix_mx_puppet_slack_redirect_path }}
  25. # Set up proxying from https://your.domain/redirect_path to http://bindAddress:port/redirect_path,
  26. # then set this field and the Slack app redirect URI field to the former.
  27. redirectUri: {{ matrix_mx_puppet_slack_redirect_uri }}
  28. presence:
  29. # Bridge Discord online/offline status
  30. enabled: true
  31. # How often to send status to the homeserver in milliseconds
  32. interval: 500
  33. provisioning:
  34. # Regex of Matrix IDs allowed to use the puppet bridge
  35. whitelist: {{ matrix_mx_puppet_slack_provisioning_whitelist|to_json }}
  36. # Allow a specific user
  37. #- "@user:server\\.com"
  38. # Allow users on a specific homeserver
  39. #- "@.*:yourserver\\.com"
  40. # Allow anyone
  41. #- ".*"
  42. # Regex of Matrix IDs forbidden from using the puppet bridge
  43. #blacklist:
  44. # Disallow a specific user
  45. #- "@user:server\\.com"
  46. # Disallow users on a specific homeserver
  47. #- "@.*:yourserver\\.com"
  48. blacklist: {{ matrix_mx_puppet_slack_provisioning_blacklist|to_json }}
  49. # Shared secret for the provisioning API for use by integration managers.
  50. # If this is not set, the provisioning API will not be enabled.
  51. #sharedSecret: random string
  52. # Path prefix for the provisioning API. /v1 will be appended to the prefix automatically.
  53. apiPrefix: /_matrix/provision
  54. database:
  55. {% if matrix_mx_puppet_slack_database_engine == 'postgres' %}
  56. # Use Postgres as a database backend
  57. # If set, will be used instead of SQLite3
  58. # Connection string to connect to the Postgres instance
  59. # with username "user", password "pass", host "localhost" and database name "dbname".
  60. # Modify each value as necessary
  61. connString: {{ matrix_mx_puppet_slack_database_connection_string|to_json }}
  62. {% else %}
  63. # Use SQLite3 as a database backend
  64. # The name of the database file
  65. filename: {{ matrix_mx_puppet_slack_sqlite_database_path_in_container|to_json }}
  66. {% endif %}
  67. logging:
  68. # Log level of console output
  69. # Allowed values starting with most verbose:
  70. # silly, debug, verbose, info, warn, error
  71. console: info
  72. # Date and time formatting
  73. lineDateFormat: MMM-D HH:mm:ss.SSS
  74. # Logging files
  75. # Log files are rotated daily by default
  76. files: []