diff --git a/docker/.env.example b/docker/.env.example index 0c85b6d876f997e849158b3bd6a286dad661c725..e61b157c05f92861c989310e1481740648038c3a 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 40bfed00757574f69d80cc66cc819c5568b97571..4127f9357d99b3140d9076ed543e13e3960b3102 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 3aff56fd7e9578143b9cfe6e4ed76d31f96eca51..a2a186542b2da4e984137ea4cc538754b3a3fb1e 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,