server_name: "{{ matrix_domain }}" enable_metrics: false report_stats: false listeners: - port: 8008 type: http tls: false resources: - names: [client, federation] compress: true database: name: psycopg2 args: user: "{{ db_user }}" password: "{{ db_pass }}" database: "{{ db_name }}" host: "localhost" port: 5432 registration_shared_secret: "{{ synapse_registration_secret }}" tls_certificate_path: "/data/tls.crt" private_key_path: "/data/tls.key" federation_domain_whitelist: - matrix.org - gitter.im # Optional: Rate limits rc_flood_control: interval: 1000 burst_count: 3 # Enable password login enable_registration: true enable_registration_without_verification: true