From 143b7df6361c4ffafbb9f31a3f9102a268e08040 Mon Sep 17 00:00:00 2001 From: Derick Ostrenko Date: Sun, 21 Jul 2019 14:23:59 -0500 Subject: [PATCH] itemdata doesn't remove session name anymore --- diamondsCluster/public/js/theater.js | 2 +- docker-compose.yml | 11 ++++++++++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/diamondsCluster/public/js/theater.js b/diamondsCluster/public/js/theater.js index 7cb8aaa..c29f900 100644 --- a/diamondsCluster/public/js/theater.js +++ b/diamondsCluster/public/js/theater.js @@ -142,7 +142,7 @@ socket.on('itemback', function (data) { console.log(userbars); - document.getElementsByClassName('sw')[0].style.display = "none"; + // document.getElementsByClassName('sw')[0].style.display = "none"; // setTimeout(function() {alert('hello');},1250); // console.log("readsd"); diff --git a/docker-compose.yml b/docker-compose.yml index e09a1aa..521c802 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -6,6 +6,10 @@ services: image: redis:5 expose: - "6379" + networks: + comm: + aliases: + - redis_db node: image: node:12 @@ -13,10 +17,15 @@ services: working_dir: /home/node/app environment: - NODE_ENV=production - - REDISIP=diamonds_elo_redis_1 + - REDISIP=redis_db - PORT=8080 volumes: - ./diamondsCluster:/home/node/app ports: - "8001:8080" command: npm start + networks: + - comm + +networks: + comm: