From c5a0ff79b9b85cd49e0fba4246f449972696d207 Mon Sep 17 00:00:00 2001 From: calvintanwj Date: Mon, 13 Nov 2023 14:12:56 +0800 Subject: [PATCH] Revert back .env and update compose --- collaboration-service/.env.example | 1 - docker-compose.yml | 31 +++++++++++++++--------------- 2 files changed, 15 insertions(+), 17 deletions(-) diff --git a/collaboration-service/.env.example b/collaboration-service/.env.example index c0cd05f3..6cc3093c 100644 --- a/collaboration-service/.env.example +++ b/collaboration-service/.env.example @@ -3,4 +3,3 @@ REDIS_HOST=redis REDIS_PORT=6379 USER_SERVICE_URL=http://user-service:3000/v1 CLIENT_URL= -QUESTION_SERVICE_URL=http://question-service:3001/api \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml index 472f253e..574e798f 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -79,26 +79,25 @@ services: - collaboration-service restart: on-failure - # client: - # build: ./client - # ports: - # - "3002:3002" - # env_file: - # - ./client/.env - # depends_on: - # - user-service - # - question-service - # - matching-service - # - collaboration-service - # restart: on-failure - - nginx-api-gateway: - build: ./etc/nginx + client: + build: ./client ports: - - "80:80" + - "3002:3002" + env_file: + - ./client/.env depends_on: - user-service - question-service - matching-service - collaboration-service + restart: on-failure + # nginx-api-gateway: + # build: ./etc/nginx + # ports: + # - "80:80" + # depends_on: + # - user-service + # - question-service + # - matching-service + # - collaboration-service \ No newline at end of file