From a48b8ac73afe9e9499d219ba22967ca43975a78e Mon Sep 17 00:00:00 2001 From: carlospelazas Date: Sat, 27 Apr 2024 12:21:47 +0200 Subject: [PATCH] ready for release --- docker-compose.yml | 18 +++++++++--------- multiplayerservice/server.js | 4 ++-- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index b22c465c..e536a83d 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 56809727..59cdecea 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 }