Matrix Docker Ansible eploy
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
 
 

100 lignes
3.6 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_steam_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_steam_homeserver_domain }}
  10. # Reachable URL of the Matrix homeserver
  11. homeserverUrl: {{ matrix_mx_puppet_steam_homeserver_address }}
  12. {% if matrix_mx_puppet_steam_login_shared_secret != '' %}
  13. loginSharedSecretMap:
  14. {{ matrix_domain }}: {{ matrix_mx_puppet_steam_login_shared_secret }}
  15. {% endif %}
  16. # Display name of the bridge bot
  17. displayname: Steam Puppet Bridge
  18. # Optionally specify a different media URL used for the media store
  19. #
  20. # This is where Steam will download user profile pictures and media
  21. # from
  22. #mediaUrl: https://external-url.org
  23. presence:
  24. # Bridge Steam online/offline status
  25. enabled: true
  26. # How often to send status to the homeserver in milliseconds
  27. interval: 5000
  28. provisioning:
  29. # Regex of Matrix IDs allowed to use the puppet bridge
  30. whitelist: {{ matrix_mx_puppet_steam_provisioning_whitelist|to_json }}
  31. # Allow a specific user
  32. #- "@user:server\\.com"
  33. # Allow users on a specific homeserver
  34. #- "@.*:yourserver\\.com"
  35. # Allow anyone
  36. #- ".*"
  37. # Regex of Matrix IDs forbidden from using the puppet bridge
  38. #blacklist:
  39. # Disallow a specific user
  40. #- "@user:server\\.com"
  41. # Disallow users on a specific homeserver
  42. #- "@.*:yourserver\\.com"
  43. blacklist: {{ matrix_mx_puppet_steam_provisioning_blacklist|to_json }}
  44. relay:
  45. # Regex of Matrix IDs who are allowed to use the bridge in relay mode.
  46. # Relay mode is when a single Steam bot account relays messages of
  47. # multiple Matrix users
  48. #
  49. # Same format as in provisioning
  50. whitelist: {{ matrix_mx_puppet_steam_provisioning_whitelist|to_json }}
  51. blacklist: {{ matrix_mx_puppet_steam_provisioning_blacklist|to_json }}
  52. selfService:
  53. # Regex of Matrix IDs who are allowed to use bridge self-servicing (plumbed rooms)
  54. #
  55. # Same format as in provisioning
  56. whitelist: {{ matrix_mx_puppet_steam_provisioning_whitelist|to_json }}
  57. blacklist: {{ matrix_mx_puppet_steam_provisioning_blacklist|to_json }}
  58. database:
  59. # Use Postgres as a database backend
  60. # If set, will be used instead of SQLite3
  61. # Connection string to connect to the Postgres instance
  62. # with username "user", password "pass", host "localhost" and database name "dbname".
  63. # Modify each value as necessary
  64. #connString: "postgres://user:pass@localhost/dbname?sslmode=disable"
  65. # Use SQLite3 as a database backend
  66. # The name of the database file
  67. filename: /data/database.db
  68. logging:
  69. # Log level of console output
  70. # Allowed values starting with most verbose:
  71. # silly, debug, verbose, info, warn, error
  72. console: info
  73. # Date and time formatting
  74. lineDateFormat: MMM-D HH:mm:ss.SSS
  75. # Logging files
  76. # Log files are rotated daily by default
  77. files:
  78. # Log file path
  79. - file: "/data/bridge.log"
  80. # Log level for this file
  81. # Allowed values starting with most verbose:
  82. # silly, debug, verbose, info, warn, error
  83. level: info
  84. # Date and time formatting
  85. datePattern: YYYY-MM-DD
  86. # Maximum number of logs to keep.
  87. # This can be a number of files or number of days.
  88. # If using days, add 'd' as a suffix
  89. maxFiles: 14d
  90. # Maximum size of the file after which it will rotate. This can be a
  91. # number of bytes, or units of kb, mb, and gb. If using the units, add
  92. # 'k', 'm', or 'g' as the suffix
  93. maxSize: 50m