2015-02-07 19:42:40 +11:00
|
|
|
<?php
|
|
|
|
|
|
|
|
return [
|
2022-02-17 10:46:22 -06:00
|
|
|
|
2015-02-07 19:42:40 +11:00
|
|
|
/*
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
| Default Filesystem Disk
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
| Here you may specify the default filesystem disk that should be used
|
2021-05-17 16:17:17 +08:00
|
|
|
| by the framework. The "local" disk, as well as a variety of cloud
|
|
|
|
| based disks are available to your application. Just store away!
|
2015-02-07 19:42:40 +11:00
|
|
|
|
|
|
|
|
*/
|
2022-02-17 10:46:22 -06:00
|
|
|
|
2022-02-14 14:42:24 -06:00
|
|
|
'default' => env('FILESYSTEM_DISK', 'local'),
|
2022-02-17 10:46:22 -06:00
|
|
|
|
2015-02-07 19:42:40 +11:00
|
|
|
/*
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
| Filesystem Disks
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
| Here you may configure as many filesystem "disks" as you wish, and you
|
|
|
|
| may even configure multiple disks of the same driver. Defaults have
|
|
|
|
| been setup for each driver as an example of the required options.
|
|
|
|
|
|
2021-12-10 15:57:41 -06:00
|
|
|
| Supported Drivers: "local", "ftp", "sftp", "s3"
|
2021-05-17 16:17:17 +08:00
|
|
|
|
|
2015-02-07 19:42:40 +11:00
|
|
|
*/
|
2022-02-17 10:46:22 -06:00
|
|
|
|
2015-02-07 19:42:40 +11:00
|
|
|
'disks' => [
|
|
|
|
'local' => [
|
|
|
|
'driver' => 'local',
|
2022-02-17 10:46:22 -06:00
|
|
|
'root' => storage_path('app'),
|
|
|
|
'url' => '/storage/app',
|
2015-02-07 19:42:40 +11:00
|
|
|
],
|
|
|
|
's3' => [
|
2022-02-17 10:46:22 -06:00
|
|
|
'bucket' => env('AWS_BUCKET'),
|
|
|
|
'driver' => 's3',
|
|
|
|
'endpoint' => env('AWS_ENDPOINT'),
|
|
|
|
'key' => env('AWS_ACCESS_KEY_ID'),
|
|
|
|
'region' => env('AWS_DEFAULT_REGION'),
|
|
|
|
'secret' => env('AWS_SECRET_ACCESS_KEY'),
|
|
|
|
'url' => env('AWS_URL'),
|
2022-02-14 14:42:24 -06:00
|
|
|
'use_path_style_endpoint' => env('AWS_USE_PATH_STYLE_ENDPOINT', false),
|
2015-02-07 19:42:40 +11:00
|
|
|
],
|
|
|
|
],
|
|
|
|
];
|