Files
spa-api/config/filesystems.php

68 lines
1.9 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
| by the framework. A "local" driver, as well as a variety of cloud
| based drivers are available for your choosing. Just store away!
|
2015-03-26 17:13:56 +00:00
| Supported: "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
'default' => '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
2015-02-22 20:47:03 -06:00
'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.
|
*/
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'),
'visibility' => 'public',
2015-03-26 17:13:56 +00:00
],
2015-02-22 20:47:03 -06:00
's3' => [
'driver' => 's3',
2016-02-11 10:19:57 -06:00
'key' => 'your-key',
2015-02-22 20:47:03 -06:00
'secret' => 'your-secret',
'region' => 'your-region',
'bucket' => 'your-bucket',
],
2014-08-24 13:55:10 -05:00
2015-02-22 20:47:03 -06:00
],
2014-08-24 13:55:10 -05:00
];