outer-web / image-library

MIT License
7 stars 1 forks source link

can't upload to disks with s3 driver like minio #6

Open tungnguyenls2008 opened 6 months ago

tungnguyenls2008 commented 6 months ago

image when i try to upload to a s3 compatible disk i receive the above error, i've been looking all over for any additional config that has to be done to make it work but to no avail.

this is my disk: 'minio' => [ 'driver' => 's3', 'key' => env('MINIO_ACCESS_KEY'), 'secret' => env('MINIO_SECRET_KEY'), 'region' => env('MINIO_REGION', 'us-east-1'), 'bucket' => env('MINIO_DEFAULT_BUCKET', 'images'), 'endpoint' => env('MINIO_ENDPOINT', 'http://minio:9000'), 'url' => env('MINIO_URL', 'http://minio:9000'), 'use_path_style_endpoint'=>true, 'throw'=>true ],

and in my panel i call the library like this: FilamentImageLibraryPlugin::make() ->addAllowedDisk('minio','Thư viện hình ảnh') ->navigationSort(14), any help will be very appreciated.

SimonBroekaert commented 6 months ago

Hi @tungnguyenls2008 ,

I will try to replicate this issue and get to a fix as soon as possible.