mirror of
https://github.com/AlecM33/Werewolf.git
synced 2025-12-26 15:57:50 +01:00
local docker setup
This commit is contained in:
@@ -25,7 +25,11 @@ class EventManager {
|
||||
|
||||
createRedisPublisher = async () => {
|
||||
this.publisher = process.env.NODE_ENV.trim() === 'development'
|
||||
? redis.createClient()
|
||||
? redis.createClient({
|
||||
socket: {
|
||||
host: process.env.REDIS_HOST, port: process.env.REDIS_PORT
|
||||
}
|
||||
})
|
||||
: redis.createClient({
|
||||
url: process.env.REDIS_URL
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user