homeserver.yaml 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. # Configuration file for Synapse.
  2. #
  3. # This is a YAML file: see [1] for a quick introduction. Note in particular
  4. # that *indentation is important*: all the elements of a list or dictionary
  5. # should have the same indentation.
  6. #
  7. # [1] https://docs.ansible.com/ansible/latest/reference_appendices/YAMLSyntax.html
  8. #
  9. # For more information on how to configure Synapse, including a complete accounting of
  10. # each option, go to docs/usage/configuration/config_documentation.md or
  11. # https://matrix-org.github.io/synapse/latest/usage/configuration/config_documentation.html
  12. server_name: "matrix.dev-stack.local"
  13. pid_file: /data/homeserver.pid
  14. listeners:
  15. - port: 8008
  16. tls: false
  17. type: http
  18. x_forwarded: true
  19. resources:
  20. - names: [client, federation]
  21. compress: false
  22. database:
  23. name: psycopg2
  24. args:
  25. user: dev-stack-admin
  26. password: 123DevStack!
  27. database: synapse-matrix-db
  28. host: postgres # The service name defined in your docker-compose file
  29. cp_min: 5
  30. cp_max: 10
  31. log_config: "/data/matrix.dev-stack.local.log.config"
  32. media_store_path: /data/media_store
  33. registration_shared_secret: "7:c1tSY0OTzZ.Nay6H+ncxV6~ha8aD:zOSp8hZA@4ehkVhbKMj"
  34. report_stats: false
  35. macaroon_secret_key: "ovCnBuM&-*d0~U-T3nqQxr+wm^8iZuNj^u1iwxqj;hZ=;KkQGo"
  36. form_secret: "K2^=ErkWpF#9t&=@H*fPece2KZUx#2GzPaI.ESf#N@Vy.Yq&=k"
  37. signing_key_path: "/data/matrix.dev-stack.local.signing.key"
  38. trusted_key_servers:
  39. - server_name: "matrix.org"
  40. # vim:ft=yaml