You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
55 lines
1.9 KiB
55 lines
1.9 KiB
<?php |
|
|
|
return [ |
|
|
|
'default' => env('FILESYSTEM_DISK', 'local'), |
|
|
|
'disks' => [ |
|
|
|
'local' => [ |
|
'driver' => 'local', |
|
'root' => storage_path('app/private'), |
|
'throw' => false, |
|
], |
|
|
|
'public' => [ |
|
'driver' => 'local', |
|
'root' => storage_path('app/public'), |
|
'url' => env('APP_URL') . '/storage', |
|
'visibility' => 'public', |
|
'throw' => false, |
|
], |
|
|
|
's3' => [ |
|
'driver' => 's3', |
|
'key' => env('AWS_ACCESS_KEY_ID'), |
|
'secret' => env('AWS_SECRET_ACCESS_KEY'), |
|
'region' => env('AWS_DEFAULT_REGION', 'us-east-1'), |
|
'bucket' => env('AWS_BUCKET'), |
|
'url' => env('AWS_URL'), |
|
'endpoint' => env('AWS_ENDPOINT'), |
|
'use_path_style_endpoint' => env('AWS_USE_PATH_STYLE_ENDPOINT', false), |
|
'throw' => false, |
|
], |
|
|
|
// QNAP QuObjects (S3-compatible) — primary object storage |
|
'oss' => [ |
|
'driver' => 's3', |
|
'key' => env('OSS_ACCESS_KEY_ID'), |
|
'secret' => env('OSS_SECRET_ACCESS_KEY'), |
|
'region' => env('OSS_REGION', 'us-east-1'), |
|
'bucket' => env('OSS_BUCKET', 'super-apps'), |
|
'endpoint' => env('OSS_ENDPOINT', 'http://10.100.1.10:8010'), |
|
'use_path_style_endpoint' => true, |
|
'url' => env('OSS_PUBLIC_URL'), |
|
'visibility' => 'public', |
|
'throw' => true, |
|
], |
|
|
|
], |
|
|
|
'links' => [ |
|
public_path('storage') => storage_path('app/public'), |
|
], |
|
|
|
];
|
|
|