diff --git a/config/redis.php b/config/redis.php index 2f9757a..b2e0a34 100644 --- a/config/redis.php +++ b/config/redis.php @@ -14,9 +14,9 @@ return [ 'default' => [ - 'host' => '127.0.0.1', - 'password' => null, - 'port' => 6379, - 'database' => 0, + 'host' => getenv('REDIS_HOST'), + 'password' => getenv('REDIS_PASSWORD'), + 'port' => getenv('REDIS_PORT'), + 'database' => getenv('REDIS_DB'), ], ];