Added extra s3 config parameters for use s3-like service compatibility
For #1192 and #1195
This commit is contained in:
parent
ba0af9214e
commit
12be7d0086
2 changed files with 6 additions and 0 deletions
|
@ -90,6 +90,10 @@ STORAGE_S3_SECRET=your-s3-secret
|
||||||
STORAGE_S3_BUCKET=s3-bucket-name
|
STORAGE_S3_BUCKET=s3-bucket-name
|
||||||
STORAGE_S3_REGION=s3-bucket-region
|
STORAGE_S3_REGION=s3-bucket-region
|
||||||
|
|
||||||
|
# S3 endpoint to use for storage calls
|
||||||
|
# Only set this if using a non-Amazon s3-compatible service such as Minio
|
||||||
|
STORAGE_S3_ENDPOINT=https://my-custom-s3-compatible.service.com:8001
|
||||||
|
|
||||||
# Storage URL prefix
|
# Storage URL prefix
|
||||||
# Used as a base for any generated image urls.
|
# Used as a base for any generated image urls.
|
||||||
# An s3-format URL will be generated if not set.
|
# An s3-format URL will be generated if not set.
|
||||||
|
|
|
@ -49,6 +49,8 @@ return [
|
||||||
'secret' => env('STORAGE_S3_SECRET', 'your-secret'),
|
'secret' => env('STORAGE_S3_SECRET', 'your-secret'),
|
||||||
'region' => env('STORAGE_S3_REGION', 'your-region'),
|
'region' => env('STORAGE_S3_REGION', 'your-region'),
|
||||||
'bucket' => env('STORAGE_S3_BUCKET', 'your-bucket'),
|
'bucket' => env('STORAGE_S3_BUCKET', 'your-bucket'),
|
||||||
|
'endpoint' => env('STORAGE_S3_ENDPOINT', null),
|
||||||
|
'use_path_style_endpoint' => env('STORAGE_S3_ENDPOINT', null) !== null,
|
||||||
],
|
],
|
||||||
|
|
||||||
'rackspace' => [
|
'rackspace' => [
|
||||||
|
|
Loading…
Reference in a new issue