diff --git a/swarmlab-app/src/run/app.js b/swarmlab-app/src/run/app.js index b594aa6..479168f 100755 --- a/swarmlab-app/src/run/app.js +++ b/swarmlab-app/src/run/app.js @@ -10,7 +10,10 @@ var io = require('socket.io')(http); const createAdapter = require('socket.io-redis'); //import { RedisClient } from 'redis'; const RedisClient = require("redis"); -const pubClient = RedisClient.createClient(); +const pubClient = RedisClient.createClient({ + host: 'redisserver', + port: 6379, + }); //const pubClient = new RedisClient({ host: 'localhost', port: 6379 }); const subClient = pubClient.duplicate();