source: config/filesystems.php@ c5e383e

Last change on this file since c5e383e was c5e383e, checked in by beratkjufliju <kufliju@…>, 3 years ago

added db and storage backup

  • Property mode set to 100644
File size: 2.7 KB
Line 
1<?php
2
3return [
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_DRIVER', '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 setup for each driver as an example of the required options.
26 |
27 | Supported Drivers: "local", "ftp", "sftp", "s3"
28 |
29 */
30
31 'disks' => [
32
33 'local' => [
34 'driver' => 'local',
35 'root' => storage_path() . DIRECTORY_SEPARATOR . 'app',
36 'permissions' => [
37 'file' => [
38 'public' => 0664,
39 'private' => 0600,
40 ],
41 'dir' => [
42 'public' => 0775,
43 'private' => 0700,
44 ],
45 ],
46 ],
47
48 'public' => [
49 'driver' => 'local',
50 'root' => storage_path() . DIRECTORY_SEPARATOR . 'app' . DIRECTORY_SEPARATOR . 'public',
51 'url' => env('APP_URL').'/storage',
52 'visibility' => 'public',
53 ],
54
55 'uploads' => [
56 'driver' => 'local',
57 'root' => public_path() . DIRECTORY_SEPARATOR . 'uploads' . DIRECTORY_SEPARATOR,
58 ],
59
60 's3' => [
61 'driver' => 's3',
62 'key' => env('AWS_ACCESS_KEY_ID'),
63 'secret' => env('AWS_SECRET_ACCESS_KEY'),
64 'region' => env('AWS_DEFAULT_REGION'),
65 'bucket' => env('AWS_BUCKET'),
66 'url' => env('AWS_URL'),
67 'endpoint' => env('AWS_ENDPOINT'),
68 'use_path_style_endpoint' => env('AWS_USE_PATH_STYLE_ENDPOINT', false),
69 ],
70
71 ],
72
73 /*
74 |--------------------------------------------------------------------------
75 | Symbolic Links
76 |--------------------------------------------------------------------------
77 |
78 | Here you may configure the symbolic links that will be created when the
79 | `storage:link` Artisan command is executed. The array keys should be
80 | the locations of the links and the values should be their targets.
81 |
82 */
83
84 'links' => [
85 public_path('storage') => storage_path('app'),
86 ],
87
88];
Note: See TracBrowser for help on using the repository browser.