Matrix Docker Ansible eploy
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

80 строки
3.0 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. {% if matrix_mx_puppet_twitter_database_engine == 'postgres' %}
  53. # Use Postgres as a database backend
  54. # If set, will be used instead of SQLite3
  55. # Connection string to connect to the Postgres instance
  56. # with username "user", password "pass", host "localhost" and database name "dbname".
  57. # Modify each value as necessary
  58. connString: {{ matrix_mx_puppet_twitter_database_connection_string|to_json }}
  59. {% else %}
  60. # Use SQLite3 as a database backend
  61. # The name of the database file
  62. filename: {{ matrix_mx_puppet_twitter_sqlite_database_path_in_container|to_json }}
  63. {% endif %}
  64. logging:
  65. # Log level of console output
  66. # Allowed values starting with most verbose:
  67. # silly, debug, verbose, info, warn, error
  68. console: info
  69. # Date and time formatting
  70. lineDateFormat: MMM-D HH:mm:ss.SSS
  71. # Logging files
  72. # Log files are rotated daily by default
  73. files: []