From fcdf154a12f7b87617d0d49205fa417ee8e8a773 Mon Sep 17 00:00:00 2001 From: Matthew Penner Date: Thu, 29 Oct 2020 19:39:55 -0600 Subject: [PATCH] Add more environment variables for S3 filesystem options --- config/backups.php | 2 ++ config/filesystems.php | 2 ++ 2 files changed, 4 insertions(+) diff --git a/config/backups.php b/config/backups.php index fde85621..ec9bd175 100644 --- a/config/backups.php +++ b/config/backups.php @@ -33,6 +33,8 @@ return [ // backup for that server lives within that folder. 'prefix' => env('AWS_BACKUPS_BUCKET') ?? '', + 'endpoint' => env('AWS_ENDPOINT'), + 'use_path_style_endpoint' => env('AWS_USE_PATH_STYLE_ENDPOINT', false), 'use_accelerate_endpoint' => env('AWS_BACKUPS_USE_ACCELERATE', false), ], ], diff --git a/config/filesystems.php b/config/filesystems.php index 809742be..bffcc651 100644 --- a/config/filesystems.php +++ b/config/filesystems.php @@ -58,6 +58,8 @@ return [ 'secret' => env('AWS_SECRET_ACCESS_KEY'), 'region' => env('AWS_DEFAULT_REGION'), 'bucket' => env('AWS_BUCKET'), + 'endpoint' => env('AWS_ENDPOINT'), + 'use_path_style_endpoint' => env('AWS_USE_PATH_STYLE_ENDPOINT', false), ], ], ];