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: