I’ve tried this before without success. If anybody achieved this, please share how.
Seems like Ninja ignores AWS settings. There is 0 output about AWS config in logs.
Documentation I use for config:
- Free Source Available Invoicing, Expenses & Time-Tracking | Invoice Ninja
- Laravel Sail - Laravel 10.x - The PHP Framework For Web Artisans
#AWS S3 config in .env file AWS_ACCESS_KEY_ID=s3_compatible_key AWS_SECRET_ACCESS_KEY=a_long_and_glorious_key AWS_DEFAULT_REGION=us-east-1 AWS_BUCKET=some_bucket_name AWS_URL=https://endpoint.com AWS_ENDPOINT=https://endpoint.com/ FILESYSTEM_DRIVER=s3 #FILESYSTEM_DISK=s3
Setting up all the AWS_* variables didn’t do a thing.
So I tried changing the FILESYSTEM_DRIVER to s3 - nothing happend.
Setting up FILESYSTEM_DISK to s3 - didn’t change anything.
I could upload documents with 0 issues and there is no complains in logs. Running in debug.