Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
pterodactyl
GitHub Repository: pterodactyl/panel
Path: blob/1.0-develop/config/filesystems.php
7382 views
1
<?php
2
3
return [
4
/*
5
|--------------------------------------------------------------------------
6
| Default Filesystem Disk
7
|--------------------------------------------------------------------------
8
|
9
| Here you may specify the default filesystem disk that should be used
10
| by the framework. The "local" disk, as well as a variety of cloud
11
| based disks are available to your application for file storage.
12
|
13
*/
14
15
'default' => env('FILESYSTEM_DISK', 'local'),
16
17
/*
18
|--------------------------------------------------------------------------
19
| Filesystem Disks
20
|--------------------------------------------------------------------------
21
|
22
| Below you may configure as many filesystem disks as necessary, and you
23
| may even configure multiple disks for the same driver. Examples for
24
| most supported storage drivers are configured here for reference.
25
|
26
| Supported drivers: "local", "ftp", "sftp", "s3"
27
|
28
*/
29
30
'disks' => [
31
'local' => [
32
'driver' => 'local',
33
'root' => storage_path('app/private'),
34
'serve' => true,
35
'throw' => false,
36
],
37
38
'public' => [
39
'driver' => 'local',
40
'root' => storage_path('app/public'),
41
'url' => env('APP_URL') . '/storage',
42
'visibility' => 'public',
43
'throw' => false,
44
],
45
46
's3' => [
47
'driver' => 's3',
48
'key' => env('AWS_ACCESS_KEY_ID'),
49
'secret' => env('AWS_SECRET_ACCESS_KEY'),
50
'region' => env('AWS_DEFAULT_REGION'),
51
'bucket' => env('AWS_BUCKET'),
52
'url' => env('AWS_URL'),
53
'endpoint' => env('AWS_ENDPOINT'),
54
'use_path_style_endpoint' => env('AWS_USE_PATH_STYLE_ENDPOINT', false),
55
'throw' => false,
56
],
57
],
58
59
/*
60
|--------------------------------------------------------------------------
61
| Symbolic Links
62
|--------------------------------------------------------------------------
63
|
64
| Here you may configure the symbolic links that will be created when the
65
| `storage:link` Artisan command is executed. The array keys should be
66
| the locations of the links and the values should be their targets.
67
|
68
*/
69
70
'links' => [
71
public_path('storage') => storage_path('app/public'),
72
],
73
];
74
75