feature(env): add env config

This commit is contained in:
YuehuCao 2025-10-11 09:41:25 +08:00
parent 744855481a
commit 53381d22be
2 changed files with 4 additions and 0 deletions

View File

@ -22,3 +22,4 @@ export MONGODB_URI=mongodb://localhost:27017/
export FREELEAPS_ENV=local export FREELEAPS_ENV=local
export LOG_BASE_PATH=${CODEBASE_ROOT}/log export LOG_BASE_PATH=${CODEBASE_ROOT}/log
export AUTH_SERVICE_ENDPOINT=http://localhost:9000/api/v1/keys/

View File

@ -17,6 +17,9 @@ ENV MONGODB_NAME=freeleaps2
ENV MONGODB_PORT=27017 ENV MONGODB_PORT=27017
ENV MONGODB_URI="mongodb://localhost:27017/" ENV MONGODB_URI="mongodb://localhost:27017/"
# Freeleaps Auth Config
ENV AUTH_SERVICE_ENDPOINT=""
#log_settings #log_settings
ENV LOG_BASE_PATH=$CONTAINER_APP_ROOT/log/$APP_NAME ENV LOG_BASE_PATH=$CONTAINER_APP_ROOT/log/$APP_NAME
ENV BACKEND_LOG_FILE_NAME=$APP_NAME ENV BACKEND_LOG_FILE_NAME=$APP_NAME