Matrix Docker Ansible eploy
Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 

81 linhas
3.3 KiB

  1. # The web settings for the service (API and UI).
  2. # It is best to have this run on localhost and use a reverse proxy to access Dimension.
  3. web:
  4. port: 8184
  5. address: '0.0.0.0'
  6. # Homeserver configuration
  7. homeserver:
  8. # The domain name of the homeserver. This is used in many places, such as with go-neb
  9. # setups, to identify the homeserver.
  10. name: "{{ matrix_domain }}"
  11. # The URL that Dimension, go-neb, and other services provisioned by Dimension should
  12. # use to access the homeserver with.
  13. clientServerUrl: "https://{{ matrix_domain }}"
  14. # The URL that Dimension should use when trying to communicate with federated APIs on
  15. # the homeserver. If not supplied or left empty Dimension will try to resolve the address
  16. # through the normal federation process.
  17. #federationUrl: "https://t2bot.io:8448"
  18. # The URL that Dimension will redirect media requests to for downloading media such as
  19. # stickers. If not supplied or left empty Dimension will use the clientServerUrl.
  20. #mediaUrl: "https://t2bot.io"
  21. # The access token Dimension should use for miscellaneous access to the homeserver. This
  22. # should be for a user on the configured homeserver: any user will do, however it is
  23. # recommended to use a dedicated user (such as @dimension:t2bot.io). For information on
  24. # how to acquire an access token, visit https://t2bot.io/docs/access_tokens
  25. accessToken: "{{ matrix_dimension_access_token }}"
  26. # These users can modify the integrations this Dimension supports.
  27. # To access the admin interface, open Dimension in Riot and click the settings icon.
  28. admins: {{ matrix_dimension_admin }}
  29. # IPs and CIDR ranges listed here will be blocked from being widgets.
  30. # Note: Widgets may still be embedded with restricted content, although not through Dimension directly.
  31. widgetBlacklist:
  32. - 10.0.0.0/8
  33. - 172.16.0.0/12
  34. - 192.168.0.0/16
  35. - 127.0.0.0/8
  36. # Where the database for Dimension is
  37. database:
  38. file: "dimension.db"
  39. # Display settings that apply to self-hosted go-neb instances
  40. goneb:
  41. # The avatars to set for each bot. Usually these don't need to be changed, however if your homeserver
  42. # is not able to reach t2bot.io then you should specify your own here. To not use an avatar for a bot,
  43. # make the bot's avatar an empty string.
  44. avatars:
  45. giphy: "mxc://t2bot.io/c5eaab3ef0133c1a61d3c849026deb27"
  46. imgur: "mxc://t2bot.io/6749eaf2b302bb2188ae931b2eeb1513"
  47. github: "mxc://t2bot.io/905b64b3cd8e2347f91a60c5eb0832e1"
  48. wikipedia: "mxc://t2bot.io/7edfb54e9ad9e13fec0df22636feedf1"
  49. travisci: "mxc://t2bot.io/7f4703126906fab8bb27df34a17707a8"
  50. rss: "mxc://t2bot.io/aace4fcbd045f30afc1b4e5f0928f2f3"
  51. google: "mxc://t2bot.io/636ad10742b66c4729bf89881a505142"
  52. guggy: "mxc://t2bot.io/e7ef0ed0ba651aaf907655704f9a7526"
  53. echo: "mxc://t2bot.io/3407ff2db96b4e954fcbf2c6c0415a13"
  54. circleci: "mxc://t2bot.io/cf7d875845a82a6b21f5f66de78f6bee"
  55. jira: "mxc://t2bot.io/f4a38ebcc4280ba5b950163ca3e7c329"
  56. # Settings for interacting with Telegram. Currently only applies for importing
  57. # sticker packs from Telegram.
  58. telegram:
  59. # Talk to @BotFather on Telegram to get a token
  60. botToken: "YourTokenHere"
  61. # Settings for controlling how logging works
  62. logging:
  63. file: logs/dimension.log
  64. console: true
  65. consoleLevel: info
  66. fileLevel: verbose
  67. rotate:
  68. size: 52428800 # bytes, default is 50mb
  69. count: 5