# Configuration file for Synapse. # This is generated by Jeannie from infra/matrix-server/homeserver.yaml.tpl. # Secrets (registration_shared_secret, macaroon_secret_key, form_secret, postgres # password, signing key) are injected by the deploy_matrix() bootstrap — never store # them in this template. server_name: "${MATRIX_SERVER_NAME}" pid_file: /data/homeserver.pid listeners: - port: 8008 resources: - compress: false names: - client - federation tls: false type: http x_forwarded: true database: name: psycopg2 args: user: "${MATRIX_POSTGRES_USER}" password: "${MATRIX_POSTGRES_PASSWORD}" database: "${MATRIX_POSTGRES_DB}" host: postgres port: 5432 cp_min: 5 cp_max: 10 log_config: "/data/${MATRIX_SERVER_NAME}.log.config" media_store_path: /data/media_store registration_shared_secret: "${MATRIX_REGISTRATION_SHARED_SECRET}" report_stats: false macaroon_secret_key: "${MATRIX_MACAROON_SECRET_KEY}" form_secret: "${MATRIX_FORM_SECRET}" signing_key_path: "/data/${MATRIX_SERVER_NAME}.signing.key" trusted_key_servers: - server_name: "matrix.org" # vim:ft=yaml user_directory: enabled: true search_all_users: true prefer_local_users: true