mirror of
https://github.com/InvoiceShelf/InvoiceShelf.git
synced 2026-04-20 11:44:05 +00:00
Support S3 compatible storage services (#56)
* add s3compat filesystem driver * add s3compat ui modal * fix code style
This commit is contained in:
@@ -64,6 +64,16 @@ return [
|
||||
'root' => env('AWS_ROOT'),
|
||||
],
|
||||
|
||||
's3compat' => [
|
||||
'driver' => 's3',
|
||||
'endpoint' => env('S3_COMPAT_ENDPOINT'),
|
||||
'use_path_style_endpoint' => true,
|
||||
'key' => env('S3_COMPAT_KEY'),
|
||||
'secret' => env('S3_COMPAT_SECRET'),
|
||||
'region' => env('S3_COMPAT_REGION'),
|
||||
'bucket' => env('S3_COMPAT_BUCKET'),
|
||||
],
|
||||
|
||||
'media' => [
|
||||
'driver' => 'local',
|
||||
'root' => public_path('media'),
|
||||
|
||||
Reference in New Issue
Block a user