Deploy Ladill Transfer / deploy (push) Successful in 39s
Webmail can POST /api/v1/transfers with a mailbox address to create share links for files above 25 MB. Co-authored-by: Cursor <cursoragent@cursor.com>
26 lines
896 B
PHP
26 lines
896 B
PHP
<?php
|
|
|
|
return [
|
|
/*
|
|
| Service-to-service API keys (Bearer) for internal callers such as webmail.
|
|
*/
|
|
'service_api_keys' => array_filter([
|
|
'webmail' => env('TRANSFER_API_KEY_WEBMAIL'),
|
|
]),
|
|
|
|
// GHS per GB per month of retention (see qr-suite-decomposition.md §7.3).
|
|
'price_per_gb_month' => (float) env('TRANSFER_PRICE_PER_GB_MONTH', 0.15),
|
|
|
|
// Max single-file upload size (bytes). Default 500 MB.
|
|
'max_file_bytes' => (int) env('TRANSFER_MAX_FILE_BYTES', 524288000),
|
|
|
|
// Max files per transfer.
|
|
'max_files_per_transfer' => (int) env('TRANSFER_MAX_FILES', 20),
|
|
|
|
// Default retention when not specified (days).
|
|
'default_retention_days' => (int) env('TRANSFER_DEFAULT_RETENTION_DAYS', 30),
|
|
|
|
// Retention for files uploaded via Ladill Mail (large attachments).
|
|
'mail_retention_days' => (int) env('TRANSFER_MAIL_RETENTION_DAYS', 30),
|
|
];
|