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