diff --git a/docker-compose.yml b/docker-compose.yml index b22c465..e536a83 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -119,15 +119,15 @@ services: GROUP_SERVICE_URL: http://groupservice:8005 MULTIPLAYER_SERVICE_URL: http://multiplayerservice:8006 - # webapp: - # container_name: webapp-${teamname:-defaultASW} - # image: ghcr.io/arquisoft/wiq_en2a/webapp:latest - # profiles: ["dev", "prod"] - # build: ./webapp - # depends_on: - # - gatewayservice - # ports: - # - "80:80" + webapp: + container_name: webapp-${teamname:-defaultASW} + image: ghcr.io/arquisoft/wiq_en2a/webapp:latest + profiles: ["dev", "prod"] + build: ./webapp + depends_on: + - gatewayservice + ports: + - "80:80" prometheus: image: prom/prometheus diff --git a/multiplayerservice/server.js b/multiplayerservice/server.js index 5680972..59cdece 100644 --- a/multiplayerservice/server.js +++ b/multiplayerservice/server.js @@ -9,8 +9,8 @@ require('dotenv').config(); const io = socketIo(server, { cors: { //origin: 'http://conoceryvencer.xyz', - //origin: process.env.WEBAPP_ENPOINT || 'http://localhost', - origin: 'http://localhost:3000', + origin: process.env.WEBAPP_ENPOINT || 'http://localhost', + //origin: 'http://localhost:3000', methods: ['GET', 'POST'], credentials: true }