Matrix Docker Ansible eploy
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
 
 

74 wiersze
2.8 KiB

  1. {#
  2. SPDX-FileCopyrightText: 2024 MDAD Team and contributors
  3. SPDX-License-Identifier: AGPL-3.0-or-later
  4. #}
  5. # =============================================================================
  6. # This is the official example config for Conduit.
  7. # If you use it for your server, you will need to adjust it to your own needs.
  8. # At the very least, change the server_name field!
  9. # =============================================================================
  10. [global]
  11. # The server_name is the pretty name of this server. It is used as a suffix for user
  12. # and room IDs. Examples: matrix.org, conduit.rs
  13. # The Conduit server needs all /_matrix/ requests to be reachable at
  14. # https://example.com/ on port 443 (client-server) and 8448 (federation).
  15. # If that's not possible for you, you can create /.well-known files to redirect
  16. # requests. See
  17. # https://matrix.org/docs/spec/client_server/latest#get-well-known-matrix-client
  18. # and
  19. # https://matrix.org/docs/spec/server_server/r0.1.4#get-well-known-matrix-server
  20. # for more information
  21. server_name = "{{ matrix_domain }}"
  22. # This is the only directory where Conduit will save its data
  23. database_path = "/var/lib/matrix-conduit/"
  24. database_backend = "rocksdb"
  25. # The port Conduit will be running on. You need to set up a reverse proxy in
  26. # your web server (e.g. apache or nginx), so all requests to /_matrix on port
  27. # 443 and 8448 will be forwarded to the Conduit instance running on this port
  28. # Docker users: Don't change this, you'll need to map an external port to this.
  29. port = {{ matrix_conduit_port_number }}
  30. # Max size for uploads
  31. max_request_size = {{ matrix_conduit_max_request_size }}
  32. # Max number of open files for the RocksDB database
  33. rocksdb_max_open_files = {{ matrix_conduit_rocksdb_max_open_files }}
  34. # Enables registration. If set to false, no users can register on this server.
  35. allow_registration = {{ matrix_conduit_allow_registration | to_json }}
  36. allow_federation = {{ matrix_conduit_allow_federation | to_json }}
  37. # Enable the display name lightning bolt on registration.
  38. enable_lightning_bolt = {{ matrix_conduit_enable_lightning_bolt | to_json }}
  39. trusted_servers = {{ matrix_conduit_trusted_servers | to_json }}
  40. max_concurrent_requests = {{ matrix_conduit_max_concurrent_requests }}
  41. log = "info,state_res=warn,rocket=off,_=off,sled=off"
  42. address = "0.0.0.0"
  43. turn_uris = {{ matrix_conduit_turn_uris | to_json }}
  44. {% if matrix_conduit_turn_secret != '' %}
  45. turn_secret = {{ matrix_conduit_turn_secret | to_json }}
  46. {% endif %}
  47. # If you have your TURN server configured to use a username and password
  48. # you can provide these information too. In this case comment out `turn_secret above`!
  49. {% if matrix_conduit_turn_username != '' or matrix_conduit_turn_password != '' %}
  50. turn_username = {{ matrix_conduit_turn_username | to_json }}
  51. turn_password = {{ matrix_conduit_turn_password | to_json }}
  52. {% endif %}