From bbd6a022cd3ef1222cbb8ac35cc8ccc4e1785492 Mon Sep 17 00:00:00 2001 From: yuta Date: Tue, 23 May 2023 01:38:24 +0900 Subject: [PATCH] fix database.php --- laravel/config/database.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/laravel/config/database.php b/laravel/config/database.php index 684f626..5395baa 100644 --- a/laravel/config/database.php +++ b/laravel/config/database.php @@ -126,6 +126,10 @@ 'options' => [ 'cluster' => env('REDIS_CLUSTER', 'redis'), 'prefix' => env('REDIS_PREFIX', Str::slug(env('APP_NAME', 'laravel'), '_') . '_database_'), + 'parameters' => [ + 'scheme' => env('REDIS_SCHEME', 'tcp'), + 'password' => env('REDIS_PASSWORD', null), + ], ], 'default' => [ @@ -145,6 +149,7 @@ 'password' => env('REDIS_PASSWORD'), 'port' => env('REDIS_PORT', '6379'), 'database' => env('REDIS_CACHE_DB', '1'), + 'scheme' => env('REDIS_SCHEME', 'tcp'), ], ],