mirror of
https://github.com/glowingblue/flarum-ext-redis-setup.git
synced 2026-03-22 06:57:45 +01:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 27bbee8d1c | |||
| 22d94274d4 |
@@ -86,7 +86,7 @@ class EnableRedis implements ExtenderInterface
|
|||||||
|
|
||||||
public static function getHost(): string
|
public static function getHost(): string
|
||||||
{
|
{
|
||||||
return getenv('REDIS_HOST') ? getenv('REDIS_HOST') : '127.0.0.1';
|
return getenv('REDIS_HOST') ? getenv('REDIS_HOST') : 'redis';
|
||||||
}
|
}
|
||||||
|
|
||||||
public static function getPassword(): ?string
|
public static function getPassword(): ?string
|
||||||
|
|||||||
Reference in New Issue
Block a user