]> git.localhorst.tv Git - alttp.git/blob - config/filesystems.php
add index option for tech sites
[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                 'alttp-seeds' => [
48                         'driver' => 'local',
49                         'root' => storage_path('app/alttp-seeds'),
50                         'url' => env('AOS_URL').'/alttp-seeds',
51                         'visibility' => 'public',
52                 ],
53
54                 'alttp-spoilers' => [
55                         'driver' => 'local',
56                         'root' => storage_path('app/alttp-spoilers'),
57                 ],
58
59                 'aos-seeds' => [
60                         'driver' => 'local',
61                         'root' => storage_path('app/aos-seeds'),
62                         'url' => env('AOS_URL').'/aos-seeds',
63                         'visibility' => 'public',
64                 ],
65
66                 'aos-spoilers' => [
67                         'driver' => 'local',
68                         'root' => storage_path('app/aos-spoilers'),
69                 ],
70
71                 'media' => [
72                         'driver' => 'local',
73                         'root' => storage_path('app/media'),
74                         'url' => env('APP_URL').'/media',
75                         'visibility' => 'public',
76                 ],
77
78                 's3' => [
79                         'driver' => 's3',
80                         'key' => env('AWS_ACCESS_KEY_ID'),
81                         'secret' => env('AWS_SECRET_ACCESS_KEY'),
82                         'region' => env('AWS_DEFAULT_REGION'),
83                         'bucket' => env('AWS_BUCKET'),
84                         'url' => env('AWS_URL'),
85                         'endpoint' => env('AWS_ENDPOINT'),
86                         'use_path_style_endpoint' => env('AWS_USE_PATH_STYLE_ENDPOINT', false),
87                         'throw' => false,
88                 ],
89
90         ],
91
92         /*
93         |--------------------------------------------------------------------------
94         | Symbolic Links
95         |--------------------------------------------------------------------------
96         |
97         | Here you may configure the symbolic links that will be created when the
98         | `storage:link` Artisan command is executed. The array keys should be
99         | the locations of the links and the values should be their targets.
100         |
101         */
102
103         'links' => [
104                 public_path('storage') => storage_path('app/public'),
105                 public_path('alttp-seeds') => storage_path('app/alttp-seeds'),
106                 public_path('aos-seeds') => storage_path('app/aos-seeds'),
107                 public_path('media') => storage_path('app/media'),
108         ],
109
110 ];