mirror of
https://github.com/glowingblue/flarum-ext-redis-setup.git
synced 2026-03-22 15:07:53 +01:00
Update src/Extend/EnableRedis.php
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user