From 1cf73f77cdb03d56ecd6b3db0a750989bea12804 Mon Sep 17 00:00:00 2001 From: Mehdi Mehtarizadeh <50746457+aryaei2000@users.noreply.github.com> Date: Thu, 21 Nov 2024 14:14:52 +0000 Subject: [PATCH] Update docker-compose.yml --- docker-compose.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 04368a4..28a44a4 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -4,10 +4,13 @@ services: image: mdenet-educationplatform:latest ports: - "8080:80" + environment: + - TOKEN_SERVER_URL build: context: educationplatform dockerfile: ./platform/Dockerfile - + args: + - TOKEN_SERVER_URL=$TOKEN_SERVER_URL volumes: - ./config/list-redirect.conf:/etc/nginx/conf.d/default.conf - ./public/list.html:/usr/share/nginx/html/list.html @@ -98,6 +101,6 @@ services: ports: - 3000:3000 build: - context: discovery-service - dockerfile: Dockerfile + context: educationplatform + dockerfile: ./discovery-service/Dockerfile restart: unless-stopped