Files
spa-api/config/filesystems.php

70 lines
2.0 KiB
PHP
Raw Normal View History

2014-08-24 13:55:10 -05:00
<?php
return [
2015-02-22 20:47:03 -06:00
/*
|--------------------------------------------------------------------------
| Default Filesystem Disk
|--------------------------------------------------------------------------
|
| Here you may specify the default filesystem disk that should be used
2016-10-26 08:16:28 -05: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-22 20:47:03 -06:00
|
*/
2014-08-24 13:55:10 -05:00
'default' => env('FILESYSTEM_DRIVER', 'local'),
2014-08-24 13:55:10 -05:00
2015-02-22 20:47:03 -06:00
/*
|--------------------------------------------------------------------------
| Default Cloud Filesystem Disk
|--------------------------------------------------------------------------
|
| Many applications store files both locally and in the cloud. For this
| reason, you may specify a default "cloud" driver here. This driver
| will be bound as the Cloud disk implementation in the container.
|
*/
2014-08-24 13:55:10 -05:00
'cloud' => env('FILESYSTEM_CLOUD', 's3'),
2014-08-24 13:55:10 -05:00
2015-02-22 20:47:03 -06: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.
|
2016-10-26 08:16:28 -05:00
| Supported Drivers: "local", "ftp", "s3", "rackspace"
|
2015-02-22 20:47:03 -06:00
*/
2014-08-24 13:55:10 -05:00
2015-02-22 20:47:03 -06:00
'disks' => [
2014-08-24 13:55:10 -05:00
2015-02-22 20:47:03 -06:00
'local' => [
'driver' => 'local',
2016-02-11 10:19:57 -06:00
'root' => storage_path('app'),
2015-02-22 20:47:03 -06:00
],
2014-08-24 13:55:10 -05:00
2016-02-11 10:19:57 -06:00
'public' => [
'driver' => 'local',
'root' => storage_path('app/public'),
2017-01-04 12:09:43 -06:00
'url' => env('APP_URL').'/storage',
2016-02-11 10:19:57 -06:00
'visibility' => 'public',
2015-03-26 17:13:56 +00:00
],
2015-02-22 20:47:03 -06:00
's3' => [
'driver' => 's3',
2017-11-09 20:46:09 +01:00
'url' => env('AWS_URL'),
2017-01-17 07:41:12 -06:00
'key' => env('AWS_KEY'),
'secret' => env('AWS_SECRET'),
'region' => env('AWS_REGION'),
'bucket' => env('AWS_BUCKET'),
2015-02-22 20:47:03 -06:00
],
2014-08-24 13:55:10 -05:00
2015-02-22 20:47:03 -06:00
],
2014-08-24 13:55:10 -05:00
];