feat: enable usage with S3-compatible services (#1381)

Co-authored-by: sergiustheblack <sergius@goes.black>
Co-authored-by: Phan An <me@phanan.net>
This commit is contained in:
Sergey Parfenov 2021-12-22 13:17:54 +03:00 committed by GitHub
parent 92bf0a4958
commit 3872482b61
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 0 deletions

View file

@ -60,6 +60,7 @@ LASTFM_API_SECRET=
AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
AWS_REGION=
AWS_ENDPOINT=
# If you want Koel to integrate with YouTube, set the API key here.

View file

@ -15,6 +15,8 @@ return [
| http://docs.aws.amazon.com/aws-sdk-php/v3/guide/guide/configuration.html
|
*/
'endpoint' => env('AWS_ENDPOINT', 'https://s3.amazonaws.com'),
'credentials' => [
'key' => env('AWS_ACCESS_KEY_ID'),
'secret' => env('AWS_SECRET_ACCESS_KEY'),