server_name: "chat.mydomain.com" pid_file: /data/homeserver.pid # NOTE: enable the following two lines ONLY to create users, then REMOVE them! #enable_registration: true #enable_registration_without_verification: true listeners: - port: 8008 tls: false type: http x_forwarded: true resources: - names: [client, federation] compress: false database: name: psycopg2 args: user: synapse password: <<< my db password >>> dbname: synapse host: db cp_min: 5 cp_max: 10 log_config: "/data/chat.mydomain.com.log.config" media_store_path: /data/media_store registration_shared_secret: "<<< random secret >>>" report_stats: true macaroon_secret_key: "<<< random key >>>" form_secret: "<<< random secret >>>" signing_key_path: "/data/chat.mydomain.com.signing.key" trusted_key_servers: - server_name: "matrix.org"