Support S3 compatible storage services (#56)

* add s3compat filesystem driver

* add s3compat ui modal

* fix code style
This commit is contained in:
Timo
2024-04-16 17:24:56 +02:00
committed by GitHub
parent 093b2acc24
commit dc8a85538f
8 changed files with 398 additions and 22 deletions

View File

@@ -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'),