server_name: "$SERVER_NAME" public_baseurl: "https://$BASE_URL" pid_file: /homeserver.pid web_client: False soft_file_limit: 0 log_config: "/config/log.config" listeners: - port: 8008 tls: False bind_addresses: ['::'] type: http x_forwarded: False resources: - names: [client, federation] compress: true database: name: "psycopg2" args: host: "$POSTGRES_HOST" port: "$POSTGRES_PORT" database: "$POSTGRES_DB" user: "$POSTGRES_USER" password: "$POSTGRES_PASSWORD" cp_min: 5 cp_max: 10 event_cache_size: "10K" rc_messages_per_second: 0.2 rc_message_burst_count: 10.0 federation_rc_window_size: 1000 federation_rc_sleep_limit: 10 federation_rc_sleep_delay: 500 federation_rc_reject_limit: 50 federation_rc_concurrent: 3 media_store_path: "/data/media" max_upload_size: "50M" max_image_pixels: "32M" dynamic_thumbnails: False thumbnail_sizes: - width: 32 height: 32 method: crop - width: 96 height: 96 method: crop - width: 320 height: 240 method: scale - width: 640 height: 480 method: scale - width: 800 height: 600 method: scale url_preview_enabled: False max_spider_size: "10M" enable_registration_captcha: False turn_uris: [ "turn:$TURN_URL?transport=tcp", "turn:$TURN_URL?transport=udp" ] turn_shared_secret: "$TURN_SHARED_SECRET" turn_user_lifetime: "1h" turn_allow_guests: True enable_registration: False registration_shared_secret: "$REGISTRATION_SECRET" enable_metrics: True report_stats: True macaroon_secret_key: "$API_SECRET" signing_key_path: "/keys/signing.key" key_refresh_interval: "1d" trusted_key_servers: - server_name: matrix.org verify_keys: "ed25519:auto": "Noi6WqcDj0QmPxCNQqgezwTlBKrfqehY1u2FyWP9uYw" password_config: enabled: True encryption_enabled_by_default_for_room_type: "all"