Update src/Extend/EnableRedis.php

This commit is contained in:
2024-10-13 11:35:13 +00:00
parent 22d94274d4
commit 27bbee8d1c

View File

@@ -86,12 +86,12 @@ class EnableRedis implements ExtenderInterface
public static function getHost(): string
{
return getenv('REDIS_HOST') ? getenv('REDIS_HOST') : 'oskoo44cg0w8ks4wo4gkw040';
return getenv('REDIS_HOST') ? getenv('REDIS_HOST') : 'redis';
}
public static function getPassword(): ?string
{
return getenv('REDIS_PASSWORD') ? getenv('REDIS_PASSWORD') : 'YrnmBqkaGqldJJGWRMGinJtbFDiVqzjPrAc4NELHmeR52lFWF1M840eBcH3Gw6lk';
return getenv('REDIS_PASSWORD') ? getenv('REDIS_PASSWORD') : null;
}
public static function getPort(): string