|
*/
- 'default' => 'local',
+ 'default' => env('STORAGE_TYPE', 'local'),
+
+ /*
+ |--------------------------------------------------------------------------
+ | Storage URL
+ |--------------------------------------------------------------------------
+ |
+ | This is the url to where the storage is located for when using an external
+ | file storage service, such as s3, to store publicly accessible assets.
+ |
+ */
+ 'url' => env('STORAGE_URL', false),
/*
|--------------------------------------------------------------------------
'local' => [
'driver' => 'local',
- 'root' => storage_path('app'),
+ 'root' => base_path(),
],
'ftp' => [
's3' => [
'driver' => 's3',
- 'key' => 'your-key',
- 'secret' => 'your-secret',
- 'region' => 'your-region',
- 'bucket' => 'your-bucket',
+ 'key' => env('STORAGE_S3_KEY', 'your-key'),
+ 'secret' => env('STORAGE_S3_SECRET', 'your-secret'),
+ 'region' => env('STORAGE_S3_REGION', 'your-region'),
+ 'bucket' => env('STORAGE_S3_BUCKET', 'your-bucket'),
],
'rackspace' => [