MediaLibrary not working with minIO with docker

Hi there,
i've installed minIO in a docker container
and i'm using Spatie Media Library plugin for uploading my images to minIO
when the filesystem disk set to public or local it has not any problem and everything works fine!
but when i choose minio for disk, only the temp-livewire files are uploading successfully to minIO but the original files not uploading and does not save any database record for media table.
here is my code :
SpatieMediaLibraryFileUpload::make('images')
                            ->label('تصاویر')
                            ->multiple()
                            ->required()
                            ->collection('images')
                            ->visibility('public')
                            ->reorderable()
                            ->imageEditor()
                            ->columnSpan(2),

and here is my .env settings:
FILESYSTEM_DISK=minio
FILAMENT_FILESYSTEM_DISK=minio
MEDIA_DISK=minio
MINIO_ROOT_USER=admin
MINIO_ROOT_PASSWORD=admin_password
MINIO_ENDPOINT=http://127.0.0.1:9000
MINIO_REGION=us-west-2
MINIO_BUCKET=test


is there any bug or have I made a mistake somewhere?
Was this page helpful?