-
Notifications
You must be signed in to change notification settings - Fork 245
Expand file tree
/
Copy pathfilesystems.php
More file actions
156 lines (131 loc) · 5.08 KB
/
Copy pathfilesystems.php
File metadata and controls
156 lines (131 loc) · 5.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
<?php
return [
/*
|--------------------------------------------------------------------------
| Default Filesystem Disk
|--------------------------------------------------------------------------
|
| Here you may specify the default filesystem disk that should be used
| by the framework. The "local" disk, as well as a variety of cloud
| based disks are available to your application. Just store away!
|
*/
'default' => env('FILESYSTEM_DISK', 'local'),
/*
|--------------------------------------------------------------------------
| 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 set up for each driver as an example of the required values.
|
| Supported Drivers: "local", "ftp", "sftp", "s3"
|
*/
'disks' => [
'local' => [ // used throught the system
'driver' => 'local',
'root' => storage_path('app'),
'throw' => false,
],
'imports' => [ // does not appear to be used any more
'driver' => 'local',
'root' => storage_path('app/imports'),
],
'keys' => [ // does not appear to be used any more
'driver' => 'local',
'root' => env('KEYS_PATH') ? base_path(env('KEYS_PATH')) : storage_path('keys'),
],
'mailtemplates' => [
'driver' => 'local',
'root' => env('MAILTEMPLATES_PATH') ? base_path(env('MAILTEMPLATES_PATH')) : storage_path('mailTemplates'),
],
'process_templates' => [ // unit tests
'driver' => 'local',
'root' => env('PROCESS_TEMPLATES_PATH') ? base_path(env('PROCESS_TEMPLATES_PATH')) : database_path('processes/templates'),
],
'public' => [ // used throught the system
'driver' => 'local',
'root' => storage_path('app/public'),
'url' => env('APP_URL') . '/storage',
'visibility' => 'public',
'throw' => false,
],
's3' => [ // DownloadSecurityLog
'driver' => 's3',
'key' => env('AWS_ACCESS_KEY_ID'),
'secret' => env('AWS_SECRET_ACCESS_KEY'),
'region' => env('AWS_DEFAULT_REGION'),
'bucket' => env('AWS_BUCKET'),
'url' => env('AWS_URL'),
'endpoint' => env('AWS_ENDPOINT'),
'use_path_style_endpoint' => env('AWS_USE_PATH_STYLE_ENDPOINT', false),
'throw' => false,
],
'profile' => [
'driver' => 'local',
'root' => storage_path('app/public/profile'),
'url' => env('APP_URL') . '/storage/profile',
'visibility' => 'public',
],
'data_sources' => [
'driver' => 'local',
'root' => storage_path('app/public/data_sources'),
'url' => env('APP_URL') . '/storage/data_sources',
'visibility' => 'public',
],
'settings' => [
'driver' => 'local',
'root' => storage_path('app/public/setting'),
'url' => env('APP_URL') . '/storage/setting',
'visibility' => 'public',
],
'private_settings' => [ // package-auth
'driver' => 'local',
'root' => storage_path('app/private/settings'),
'visibility' => 'private',
],
'web_services' => [ // package-data-sources, SoapConfigBuilder.php in core
'driver' => 'local',
'root' => storage_path('app/private/web_services'),
'visibility' => 'private',
],
'tmp' => [ // package-webentry, package-ai
'driver' => 'local',
'root' => storage_path('app/public/tmp'),
'url' => env('APP_URL') . '/storage/tmp',
'visibility' => 'public',
],
'samlidp' => [
'driver' => 'local',
'root' => storage_path() . '/samlidp',
],
'decision_tables' => [ // package-decision-engine
'driver' => 'local',
'root' => storage_path('decision-tables'),
'url' => env('APP_URL') . '/storage/decision-tables',
'visibility' => 'private',
],
'lang' => [
'driver' => 'local',
'root' => lang_path(),
],
// Others declared in packages
// - translations - package-translations
// - 'filesystems.disks.install' configured on the fly
],
/*
|--------------------------------------------------------------------------
| Symbolic Links
|--------------------------------------------------------------------------
|
| Here you may configure the symbolic links that will be created when the
| `storage:link` Artisan command is executed. The array keys should be
| the locations of the links and the values should be their targets.
|
*/
'links' => [
public_path('storage') => storage_path('app/public'),
],
];