diff --git a/docker/.env.example b/docker/.env.example index 0c85b6d87..e61b157c0 100644 --- a/docker/.env.example +++ b/docker/.env.example @@ -1,5 +1,8 @@ SERVER_PORT=3001 CACHE_VECTORS="true" +STORAGE_DIR="/app/server/storage" +UID='1000' +GID='1000' # JWT_SECRET="my-random-string-for-seeding" # Only needed if AUTH_TOKEN is set. Please generate random string at least 12 chars long. ########################################### @@ -61,7 +64,7 @@ CACHE_VECTORS="true" # PINECONE_INDEX= # Enable all below if you are using vector database: LanceDB. -VECTOR_DB="lancedb" +# VECTOR_DB="lancedb" # Enable all below if you are using vector database: Weaviate. # VECTOR_DB="weaviate" @@ -75,10 +78,6 @@ VECTOR_DB="lancedb" # CLOUD DEPLOYMENT VARIRABLES ONLY # AUTH_TOKEN="hunter2" # This is the password to your application if remote hosting. -# NO_DEBUG="true" -STORAGE_DIR="/app/server/storage" -UID='1000' -GID='1000' ########################################### ######## PASSWORD COMPLEXITY ############## diff --git a/server/.env.example b/server/.env.example index 40bfed007..4127f9357 100644 --- a/server/.env.example +++ b/server/.env.example @@ -77,7 +77,6 @@ VECTOR_DB="lancedb" # CLOUD DEPLOYMENT VARIRABLES ONLY # AUTH_TOKEN="hunter2" # This is the password to your application if remote hosting. # STORAGE_DIR= # absolute filesystem path with no trailing slash -# NO_DEBUG="true" ########################################### ######## PASSWORD COMPLEXITY ############## diff --git a/server/models/systemSettings.js b/server/models/systemSettings.js index 3aff56fd7..a2a186542 100644 --- a/server/models/systemSettings.js +++ b/server/models/systemSettings.js @@ -17,7 +17,6 @@ const SystemSettings = { const llmProvider = process.env.LLM_PROVIDER || "openai"; const vectorDB = process.env.VECTOR_DB || "lancedb"; return { - CanDebug: !!!process.env.NO_DEBUG, RequiresAuth: !!process.env.AUTH_TOKEN, AuthToken: !!process.env.AUTH_TOKEN, JWTSecret: !!process.env.JWT_SECRET,