From cea505cbdd0d6e7ccb3b40613a7abc6aa15ad00b Mon Sep 17 00:00:00 2001 From: YuehuCao Date: Thu, 11 Sep 2025 22:18:21 +0800 Subject: [PATCH] feat(config): add the AUTH_SERVICE_ENDPOINT to the .env file --- apps/notification/.env | 3 ++- apps/notification/tests/integration_tests/local.env | 5 ++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/apps/notification/.env b/apps/notification/.env index 2403990..5070192 100644 --- a/apps/notification/.env +++ b/apps/notification/.env @@ -28,4 +28,5 @@ export RABBITMQ_PORT=5672 export FREELEAPS_ENV=local export LOG_BASE_PATH=${CODEBASE_ROOT}/log - +export AUTH_SERVICE_ENDPOINT=http://localhost:9000/api/v1/keys/ +export AUTH_SERVICE_PORT=9000 diff --git a/apps/notification/tests/integration_tests/local.env b/apps/notification/tests/integration_tests/local.env index 93d5880..f5b5a2b 100644 --- a/apps/notification/tests/integration_tests/local.env +++ b/apps/notification/tests/integration_tests/local.env @@ -27,10 +27,13 @@ export DOCKER_BACKEND_LOG_HOME=$DOCKER_BACKEND_HOME/log export RABBITMQ_HOST=localhost export RABBITMQ_PORT=5672 +export AUTH_SERVICE_ENDPOINT=http://localhost:9000/api/v1/keys/ +export AUTH_SERVICE_PORT=9000 + # for local environment export MONGODB_URI=mongodb://localhost:27017/ # connectivity from local to alpha #export MONGODB_URI=mongodb+srv://jetli:8IHKx6dZK8BfugGp@freeleaps2.hanbj.mongodb.net/ export MONGODB_NAME=interview export FREELEAPS_ENV=local -export LOG_BASE_PATH=./log +export LOG_BASE_PATH=./log \ No newline at end of file