Matrix Docker Ansible eploy
Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.
 
 

88 Zeilen
3.3 KiB

  1. #jinja2: lstrip_blocks: "True"
  2. # Homeserver details.
  3. homeserver:
  4. # The address that this appservice can use to connect to the homeserver.
  5. address: https://{{ matrix_server_fqn_matrix }}
  6. # The domain of the homeserver (for MXIDs, etc).
  7. domain: {{ matrix_domain }}
  8. # Application service host/registration related details.
  9. # Changing these values requires regeneration of the registration.
  10. appservice:
  11. # The address that the homeserver can use to connect to this appservice.
  12. address: http://matrix-mautrix-whatsapp:8080
  13. # The hostname and port where this appservice should listen.
  14. hostname: 0.0.0.0
  15. port: 8080
  16. # Database config.
  17. database:
  18. # The database type. Only "sqlite3" is supported.
  19. type: sqlite3
  20. # The database URI. Usually file name. https://github.com/mattn/go-sqlite3#connection-string
  21. uri: mautrix-whatsapp.db
  22. # Path to the Matrix room state store.
  23. state_store_path: ./mx-state.json
  24. # The unique ID of this appservice.
  25. id: whatsapp
  26. # Appservice bot details.
  27. bot:
  28. # Username of the appservice bot.
  29. username: whatsappbot
  30. # Display name and avatar for bot. Set to "remove" to remove display name/avatar, leave empty
  31. # to leave display name/avatar as-is.
  32. displayname: WhatsApp bridge bot
  33. avatar: remove
  34. # Authentication tokens for AS <-> HS communication. Autogenerated; do not modify.
  35. as_token: "This value is generated when generating the registration"
  36. hs_token: "This value is generated when generating the registration"
  37. # Bridge config. Currently unused.
  38. bridge:
  39. # {% raw %}
  40. # protecting the go templates inside the raw section.
  41. # Localpart template of MXIDs for WhatsApp users.
  42. # {{.}} is replaced with the phone number of the WhatsApp user.
  43. username_template: whatsapp_{{.}}
  44. # Displayname template for WhatsApp users.
  45. # {{.Notify}} - nickname set by the WhatsApp user
  46. # {{.Jid}} - phone number (international format)
  47. # The following variables are also available, but will cause problems on multi-user instances:
  48. # {{.Name}} - display name from contact list
  49. # {{.Short}} - short display name from contact list
  50. displayname_template: "{{if .Notify}}{{.Notify}}{{else}}{{.Jid}}{{end}} (WA)"
  51. # {% endraw %}
  52. # The prefix for commands. Only required in non-management rooms.
  53. command_prefix: "!wa"
  54. # Permissions for using the bridge.
  55. # Permitted values:
  56. # user - Access to use the bridge to chat with a WhatsApp account.
  57. # admin - User level and some additional administration tools
  58. # Permitted keys:
  59. # * - All Matrix users
  60. # domain - All users on that homeserver
  61. # mxid - Specific user
  62. permissions:
  63. '{{ matrix_domain }}': user
  64. # Logging config.
  65. logging:
  66. # The directory for log files. Will be created if not found.
  67. directory: ./logs
  68. # Available variables: .Date for the file date and .Index for different log files on the same day.
  69. file_name_format: {% raw %}"{{.Date}}-{{.Index}}.log"{% endraw %}
  70. # Date format for file names in the Go time format: https://golang.org/pkg/time/#pkg-constants
  71. file_date_format: 2006-01-02
  72. # Log file permissions.
  73. file_mode: 0600
  74. # Timestamp format for log entries in the Go time format.
  75. timestamp_format: Jan _2, 2006 15:04:05
  76. # Minimum severity for log messages.
  77. # Options: debug, info, warn, error, fatal
  78. print_level: debug