shaark/config/filesystems.php

33 lines
955 B
PHP

<?php
return [
'default' => env('FILESYSTEM_DRIVER', 'local'),
'cloud' => env('FILESYSTEM_CLOUD', 's3'),
// Supported Drivers: "local", "ftp", "sftp", "s3"
'disks' => [
'local' => [
'driver' => 'local',
'root' => storage_path('app'),
],
'archives' => [
'driver' => 'local',
'root' => storage_path('app/archives'),
'visibility' => 'hidden',
],
'public' => [
'driver' => 'local',
'root' => storage_path('app/public'),
'url' => env('APP_URL').'/storage',
'visibility' => 'public',
],
's3' => [
'driver' => 's3',
'key' => env('AWS_ACCESS_KEY_ID'),
'secret' => env('AWS_SECRET_ACCESS_KEY'),
'region' => env('AWS_DEFAULT_REGION'),
'bucket' => env('AWS_BUCKET'),
'url' => env('AWS_URL'),
],
],
];