🖍 REDIS_URI for socket.io inferred from env var

This commit is contained in:
2022-04-17 20:01:30 -07:00
parent d53ab0432e
commit c0f010639d

View File

@@ -60,7 +60,7 @@ export default class SocketService extends Service {
},
},
options: {
adapter: redisAdapter({ host: 'localhost', port: 6379 }),
adapter: redisAdapter({ host: process.env.REDIS_URI, port: 6379 }),
},
},
},