From 53381d22be7cf552d35bf5a63f16260656f2302b Mon Sep 17 00:00:00 2001 From: YuehuCao Date: Sat, 11 Oct 2025 09:41:25 +0800 Subject: [PATCH] feature(env): add env config --- apps/authentication/.env | 1 + apps/authentication/Dockerfile | 3 +++ 2 files changed, 4 insertions(+) diff --git a/apps/authentication/.env b/apps/authentication/.env index 23ac8e5..14bcbae 100644 --- a/apps/authentication/.env +++ b/apps/authentication/.env @@ -22,3 +22,4 @@ export MONGODB_URI=mongodb://localhost:27017/ export FREELEAPS_ENV=local export LOG_BASE_PATH=${CODEBASE_ROOT}/log +export AUTH_SERVICE_ENDPOINT=http://localhost:9000/api/v1/keys/ \ No newline at end of file diff --git a/apps/authentication/Dockerfile b/apps/authentication/Dockerfile index 0b97a04..91763b2 100644 --- a/apps/authentication/Dockerfile +++ b/apps/authentication/Dockerfile @@ -17,6 +17,9 @@ ENV MONGODB_NAME=freeleaps2 ENV MONGODB_PORT=27017 ENV MONGODB_URI="mongodb://localhost:27017/" +# Freeleaps Auth Config +ENV AUTH_SERVICE_ENDPOINT="" + #log_settings ENV LOG_BASE_PATH=$CONTAINER_APP_ROOT/log/$APP_NAME ENV BACKEND_LOG_FILE_NAME=$APP_NAME