]> git.localhorst.tv Git - alttp.git/blob - config/filesystems.php
68b2694e004cdc85c3124420c351a734d07c94a1
[alttp.git] / config / filesystems.php
1 <?php
2
3 return [
4
5         /*
6         |--------------------------------------------------------------------------
7         | Default Filesystem Disk
8         |--------------------------------------------------------------------------
9         |
10         | Here you may specify the default filesystem disk that should be used
11         | by the framework. The "local" disk, as well as a variety of cloud
12         | based disks are available to your application. Just store away!
13         |
14         */
15
16         'default' => env('FILESYSTEM_DISK', 'local'),
17
18         /*
19         |--------------------------------------------------------------------------
20         | Filesystem Disks
21         |--------------------------------------------------------------------------
22         |
23         | Here you may configure as many filesystem "disks" as you wish, and you
24         | may even configure multiple disks of the same driver. Defaults have
25         | been set up for each driver as an example of the required values.
26         |
27         | Supported Drivers: "local", "ftp", "sftp", "s3"
28         |
29         */
30
31         'disks' => [
32
33                 'local' => [
34                         'driver' => 'local',
35                         'root' => storage_path('app'),
36                         'throw' => false,
37                 ],
38
39                 'public' => [
40                         'driver' => 'local',
41                         'root' => storage_path('app/public'),
42                         'url' => env('APP_URL').'/storage',
43                         'visibility' => 'public',
44                         'throw' => false,
45                 ],
46
47                 'aos-seeds' => [
48                         'driver' => 'local',
49                         'root' => storage_path('app/aos-seeds'),
50                         'url' => env('AOS_URL').'/aos-seeds',
51                         'visibility' => 'public',
52                 ],
53
54                 's3' => [
55                         'driver' => 's3',
56                         'key' => env('AWS_ACCESS_KEY_ID'),
57                         'secret' => env('AWS_SECRET_ACCESS_KEY'),
58                         'region' => env('AWS_DEFAULT_REGION'),
59                         'bucket' => env('AWS_BUCKET'),
60                         'url' => env('AWS_URL'),
61                         'endpoint' => env('AWS_ENDPOINT'),
62                         'use_path_style_endpoint' => env('AWS_USE_PATH_STYLE_ENDPOINT', false),
63                         'throw' => false,
64                 ],
65
66         ],
67
68         /*
69         |--------------------------------------------------------------------------
70         | Symbolic Links
71         |--------------------------------------------------------------------------
72         |
73         | Here you may configure the symbolic links that will be created when the
74         | `storage:link` Artisan command is executed. The array keys should be
75         | the locations of the links and the values should be their targets.
76         |
77         */
78
79         'links' => [
80                 public_path('storage') => storage_path('app/public'),
81                 public_path('aos-seeds') => storage_path('app/aos-seeds'),
82         ],
83
84 ];