Store transfer files on Contabo Object Storage like Ladill Meet.
Deploy Ladill Transfer / deploy (push) Successful in 50s
Deploy Ladill Transfer / deploy (push) Successful in 50s
Add transfer-files S3 disk, config-driven uploads, and an artisan command to migrate existing local blobs to object storage. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -67,6 +67,23 @@ return [
|
||||
'report' => false,
|
||||
],
|
||||
|
||||
// Contabo Object Storage (S3-compatible) for transfer file blobs — same account as Ladill Meet.
|
||||
'transfer-files' => [
|
||||
'driver' => 's3',
|
||||
'key' => env('TRANSFER_S3_ACCESS_KEY', env('MEET_EGRESS_S3_ACCESS_KEY', env('AWS_ACCESS_KEY_ID'))),
|
||||
'secret' => env('TRANSFER_S3_SECRET', env('MEET_EGRESS_S3_SECRET', env('AWS_SECRET_ACCESS_KEY'))),
|
||||
'region' => env('TRANSFER_S3_REGION', env('MEET_EGRESS_S3_REGION', env('AWS_DEFAULT_REGION', 'default'))),
|
||||
'bucket' => env('TRANSFER_S3_BUCKET', env('MEET_EGRESS_S3_BUCKET', env('AWS_BUCKET'))),
|
||||
'url' => env('TRANSFER_S3_URL', env('MEET_EGRESS_S3_URL', env('AWS_URL'))),
|
||||
'endpoint' => env('TRANSFER_S3_ENDPOINT', env('MEET_EGRESS_S3_ENDPOINT', env('AWS_ENDPOINT'))),
|
||||
'use_path_style_endpoint' => filter_var(
|
||||
env('TRANSFER_S3_USE_PATH_STYLE', env('MEET_EGRESS_S3_USE_PATH_STYLE', env('AWS_USE_PATH_STYLE_ENDPOINT', true))),
|
||||
FILTER_VALIDATE_BOOL,
|
||||
),
|
||||
'throw' => false,
|
||||
'report' => false,
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
/*
|
||||
|
||||
@@ -39,4 +39,7 @@ return [
|
||||
|
||||
// Voice SMS uploads from sms.ladill.com (via platform API).
|
||||
'sms_voice_max_upload_kb' => (int) env('TRANSFER_SMS_VOICE_MAX_UPLOAD_KB', 5120),
|
||||
|
||||
// Filesystem disk for transfer blobs (Contabo S3 in production; local `qr` for dev/tests).
|
||||
'files_disk' => env('TRANSFER_FILES_DISK', 'transfer-files'),
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user