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