Cachet/config/filesystems.php

78 lines
2.2 KiB
PHP
Raw Normal View History

2015-03-20 18:30:45 -06:00
<?php
/*
* This file is part of Cachet.
*
2015-07-06 17:37:01 +01:00
* (c) Alt Three Services Limited
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
2015-03-20 18:30:45 -06:00
return [
2015-03-20 18:32:24 -06:00
/*
|--------------------------------------------------------------------------
| Default Filesystem Disk
|--------------------------------------------------------------------------
|
| Here you may specify the default filesystem disk that should be used
2017-06-13 23:09:18 +01: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-03-20 18:32:24 -06:00
|
*/
2015-03-20 18:30:45 -06:00
2017-06-13 23:09:18 +01:00
'default' => env('FILESYSTEM_DRIVER', 'local'),
2015-03-20 18:30:45 -06:00
2015-03-20 18:32:24 -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.
|
*/
2015-03-20 18:30:45 -06:00
2017-06-13 23:09:18 +01:00
'cloud' => env('FILESYSTEM_CLOUD', 's3'),
2015-03-20 18:30:45 -06:00
2015-03-20 18:32:24 -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.
|
2017-06-13 23:09:18 +01:00
| Supported Drivers: "local", "ftp", "s3", "rackspace"
|
2015-03-20 18:32:24 -06:00
*/
2015-03-20 18:30:45 -06:00
2015-03-20 18:32:24 -06:00
'disks' => [
2015-03-20 18:30:45 -06:00
2015-03-20 18:32:24 -06:00
'local' => [
'driver' => 'local',
2016-03-24 15:29:11 +00:00
'root' => storage_path('app'),
2015-03-20 18:32:24 -06:00
],
2015-03-20 18:30:45 -06:00
2016-03-24 15:21:02 +00:00
'public' => [
'driver' => 'local',
'root' => storage_path('app/public'),
2017-06-13 23:09:18 +01:00
'url' => env('APP_URL').'/storage',
2016-03-24 15:21:02 +00:00
'visibility' => 'public',
2015-05-28 21:42:05 +01:00
],
2015-05-28 21:37:44 +01:00
2015-03-20 18:32:24 -06:00
's3' => [
'driver' => 's3',
2017-06-13 23:09:18 +01:00
'key' => env('AWS_KEY'),
'secret' => env('AWS_SECRET'),
'region' => env('AWS_REGION'),
'bucket' => env('AWS_BUCKET'),
2015-03-20 18:32:24 -06:00
],
2015-03-20 18:30:45 -06:00
2015-03-20 18:32:24 -06:00
],
2015-03-20 18:30:45 -06:00
];