update ports and variables for docker compose bootstrap

This commit is contained in:
Martin Guether
2017-04-07 11:55:07 +02:00
parent a3e2129b79
commit f9cf8ba7e8
9 changed files with 49 additions and 35 deletions

View File

@@ -5,7 +5,7 @@ const websockets = require('./websockets');
module.exports = {
connectRedis(){
const redisHost = process.env.REDIS_PORT_6379_TCP_ADDR || 'localhost';
const redisHost = process.env.REDIS_PORT_6379_TCP_ADDR || 'sync';
this.connection = new RedisConnection(6379, redisHost);
},
sendMessage(action, model, attributes, channelId) {