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.
 
 

190 Zeilen
9.0 KiB

  1. matrix_synapse_docker_image: "matrixdotorg/synapse:v0.34.1.1-py3"
  2. matrix_synapse_base_path: "{{ matrix_base_data_path }}/synapse"
  3. matrix_synapse_config_dir_path: "{{ matrix_synapse_base_path }}/config"
  4. matrix_synapse_run_path: "{{ matrix_synapse_base_path }}/run"
  5. matrix_synapse_storage_path: "{{ matrix_synapse_base_path }}/storage"
  6. matrix_synapse_media_store_path: "{{ matrix_synapse_storage_path }}/media-store"
  7. matrix_synapse_ext_path: "{{ matrix_synapse_base_path }}/ext"
  8. # Controls whether the Synapse container exposes the Client/Server API port (tcp/8008).
  9. matrix_synapse_container_expose_client_server_api_port: false
  10. # List of systemd services that matrix-synapse.service depends on
  11. matrix_synapse_systemd_required_services_list: ['docker.service']
  12. # List of systemd services that matrix-synapse.service wants
  13. matrix_synapse_systemd_wanted_services_list: []
  14. matrix_synapse_in_container_python_packages_path: "/usr/local/lib/python3.6/site-packages"
  15. # Specifies which template files to use when configuring Synapse.
  16. # If you'd like to have your own different configuration, feel free to copy and paste
  17. # the original files into your inventory (e.g. in `inventory/host_vars/<host>/`)
  18. # and then change the specific host's `vars.yaml` file like this:
  19. # matrix_synapse_template_synapse_homeserver: "{{ playbook_dir }}/inventory/host_vars/<host>/homeserver.yaml.j2"
  20. matrix_synapse_template_synapse_homeserver: "{{ role_path }}/templates/synapse/homeserver.yaml.j2"
  21. matrix_synapse_template_synapse_log: "{{ role_path }}/templates/synapse/synapse.log.config.j2"
  22. matrix_synapse_macaroon_secret_key: ""
  23. matrix_synapse_registration_shared_secret: "{{ matrix_synapse_macaroon_secret_key }}"
  24. matrix_synapse_form_secret: "{{ matrix_synapse_macaroon_secret_key }}"
  25. # The list of identity servers to use for Synapse.
  26. # We assume this role runs standalone without a local Identity server, so we point Synapse to public ones.
  27. # This most likely gets overwritten later, so that a local Identity server is used.
  28. matrix_synapse_trusted_third_party_id_servers: "{{ matrix_synapse_id_servers_public }}"
  29. matrix_synapse_max_upload_size_mb: 10
  30. matrix_synapse_max_log_file_size_mb: 100
  31. matrix_synapse_max_log_files_count: 10
  32. # Log levels
  33. # Possible options are defined here https://docs.python.org/3/library/logging.html#logging-levels
  34. # warning: setting log level to DEBUG will make synapse log sensitive information such
  35. # as access tokens
  36. matrix_synapse_log_level: "INFO"
  37. matrix_synapse_storage_sql_log_level: "INFO"
  38. matrix_synapse_root_log_level: "INFO"
  39. # Rate limits
  40. matrix_synapse_rc_messages_per_second: 0.2
  41. matrix_synapse_rc_message_burst_count: 10.0
  42. # Enable this to allow Synapse to report utilization statistics about your server to matrix.org
  43. # (things like number of users, number of messages sent, uptime, load, etc.)
  44. matrix_synapse_report_stats: false
  45. # Controls whether the Matrix server will track presence status (online, offline, unavailable) for users.
  46. # If users participate in large rooms with many other servers,
  47. # disabling this will decrease server load significantly.
  48. matrix_synapse_use_presence: true
  49. # Controls whether people with access to the homeserver can register by themselves.
  50. matrix_synapse_enable_registration: false
  51. # Users who register on this homeserver will automatically be joined to these rooms.
  52. # Rooms are to be specified using addresses (e.g. `#address:example.com`)
  53. matrix_synapse_auto_join_rooms: []
  54. # Controls whether auto-join rooms (`matrix_synapse_auto_join_rooms`) are to be created
  55. # automatically if they don't already exist.
  56. matrix_synapse_autocreate_auto_join_rooms: true
  57. # Controls password-peppering for Matrix Synapse. Not to be changed after initial setup.
  58. matrix_synapse_password_config_pepper: ""
  59. # Controls the number of events that Matrix Synapse caches in memory.
  60. matrix_synapse_event_cache_size: "100K"
  61. # Controls cache sizes for Matrix Synapse via the SYNAPSE_CACHE_FACTOR environment variable.
  62. # Raise this to increase cache sizes or lower it to potentially lower memory use.
  63. # To learn more, see:
  64. # - https://github.com/matrix-org/synapse#help-synapse-eats-all-my-ram
  65. # - https://github.com/matrix-org/synapse/issues/3939
  66. matrix_synapse_cache_factor: 0.5
  67. # Controls whether Matrix Synapse will federate at all.
  68. # Disable this to completely isolate your server from the rest of the Matrix network.
  69. matrix_synapse_federation_enabled: true
  70. # A list of domain names that are allowed to federate with the given Matrix Synapse server.
  71. # An empty list value (`[]`) will also effectively stop federation, but if that's the desired
  72. # result, it's better to accomplish it by changing `matrix_synapse_federation_enabled`.
  73. matrix_synapse_federation_domain_whitelist: ~
  74. # A list of additional "volumes" to mount in the container.
  75. # This list gets populated dynamically based on Synapse extensions that have been enabled.
  76. # Contains definition objects like this: `{"src": "/outside", "dst": "/inside", "options": "rw|ro|slave|.."}
  77. matrix_synapse_container_additional_volumes: []
  78. # A list of additional loggers to register in synapse.log.config.
  79. # This list gets populated dynamically based on Synapse extensions that have been enabled.
  80. # Contains definition objects like this: `{"name": "..", "level": "DEBUG"}
  81. matrix_synapse_additional_loggers: []
  82. # A list of service config files
  83. # This list gets populated dynamically based on Synapse extensions that have been enabled.
  84. # Contains fs paths
  85. matrix_synapse_app_service_config_files: []
  86. # This is set dynamically during execution depending on whether
  87. # any password providers have been enabled or not.
  88. matrix_synapse_password_providers_enabled: false
  89. # Postgres database information
  90. matrix_synapse_database_host: ""
  91. matrix_synapse_database_user: ""
  92. matrix_synapse_database_password: ""
  93. matrix_synapse_database_database: ""
  94. matrix_synapse_turn_uris: []
  95. matrix_synapse_turn_shared_secret: ""
  96. matrix_synapse_email_enabled: false
  97. matrix_synapse_email_smtp_host: ""
  98. matrix_synapse_email_smtp_port: 587
  99. matrix_synapse_email_smtp_require_transport_security: false
  100. matrix_synapse_email_notif_from: "Matrix <matrix@{{ hostname_identity }}>"
  101. matrix_synapse_email_riot_base_url: "https://{{ hostname_riot }}"
  102. # Enable this to activate the REST auth password provider module.
  103. # See: https://github.com/kamax-io/matrix-synapse-rest-auth
  104. matrix_synapse_ext_password_provider_rest_auth_enabled: false
  105. matrix_synapse_ext_password_provider_rest_auth_download_url: "https://raw.githubusercontent.com/kamax-io/matrix-synapse-rest-auth/v0.1.1/rest_auth_provider.py"
  106. matrix_synapse_ext_password_provider_rest_auth_endpoint: ""
  107. matrix_synapse_ext_password_provider_rest_auth_registration_enforce_lowercase: false
  108. matrix_synapse_ext_password_provider_rest_auth_registration_profile_name_autofill: true
  109. matrix_synapse_ext_password_provider_rest_auth_login_profile_name_autofill: false
  110. # Enable this to activate the Shared Secret Auth password provider module.
  111. # See: https://github.com/devture/matrix-synapse-shared-secret-auth
  112. matrix_synapse_ext_password_provider_shared_secret_auth_enabled: false
  113. matrix_synapse_ext_password_provider_shared_secret_auth_download_url: "https://raw.githubusercontent.com/devture/matrix-synapse-shared-secret-auth/1.0.1/shared_secret_authenticator.py"
  114. matrix_synapse_ext_password_provider_shared_secret_auth_shared_secret: ""
  115. # Enable this to activate LDAP password provider
  116. matrix_synapse_ext_password_provider_ldap_enabled: false
  117. matrix_synapse_ext_password_provider_ldap_uri: "ldap://ldap.mydomain.tld:389"
  118. matrix_synapse_ext_password_provider_ldap_start_tls: true
  119. matrix_synapse_ext_password_provider_ldap_base: ""
  120. matrix_synapse_ext_password_provider_ldap_attributes_uid: "uid"
  121. matrix_synapse_ext_password_provider_ldap_attributes_mail: "mail"
  122. matrix_synapse_ext_password_provider_ldap_attributes_name: "cn"
  123. matrix_synapse_ext_password_provider_ldap_bind_dn: ""
  124. matrix_synapse_ext_password_provider_ldap_bind_password: ""
  125. matrix_synapse_ext_password_provider_ldap_filter: ""
  126. matrix_s3_media_store_enabled: false
  127. matrix_s3_goofys_docker_image: "ewoutp/goofys:latest"
  128. matrix_s3_media_store_bucket_name: "your-bucket-name"
  129. matrix_s3_media_store_aws_access_key: "your-aws-access-key"
  130. matrix_s3_media_store_aws_secret_key: "your-aws-secret-key"
  131. matrix_s3_media_store_region: "eu-central-1"
  132. # Matrix mautrix is a Matrix <-> Telegram bridge
  133. # Enable telegram bridge
  134. matrix_mautrix_telegram_enabled: false
  135. matrix_mautrix_telegram_docker_image: "tulir/mautrix-telegram:v0.4.0"
  136. matrix_mautrix_telegram_base_path: "{{ matrix_base_data_path }}/mautrix-telegram"
  137. # Get your own API keys at https://my.telegram.org/apps
  138. matrix_mautrix_telegram_api_id: YOUR_TELEGRAM_APP_ID
  139. matrix_mautrix_telegram_api_hash: YOUR_TELEGRAM_API_HASH
  140. # Mautrix telegram public endpoint to log in to telegram
  141. # Use an uuid so it's not easily discoverable
  142. matrix_mautrix_telegram_public_endpoint: "/{{ matrix_synapse_macaroon_secret_key | password_hash('sha512', 'telegram') | to_uuid }}"
  143. # Matrix mautrix is a Matrix <-> Whatsapp bridge
  144. # Enable whatsapp bridge
  145. matrix_mautrix_whatsapp_enabled: false
  146. matrix_mautrix_whatsapp_docker_image: "tulir/mautrix-whatsapp:latest"
  147. matrix_mautrix_whatsapp_base_path: "{{ matrix_base_data_path }}/mautrix-whatsapp"