mirror of
https://github.com/glowingblue/flarum-ext-redis-setup.git
synced 2026-03-22 15:07:53 +01:00
Compare commits
2 Commits
sh/redis-s
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| 27bbee8d1c | |||
| 22d94274d4 |
@@ -86,7 +86,7 @@ class EnableRedis implements ExtenderInterface
|
||||
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user