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'), ], ],