mirror of
https://github.com/Mintplex-Labs/anything-llm.git
synced 2024-11-18 20:20:11 +01:00
chore: remove unused NO_DEBUG env
This commit is contained in:
parent
fcb591d364
commit
fecfb0fafc
@ -1,5 +1,8 @@
|
|||||||
SERVER_PORT=3001
|
SERVER_PORT=3001
|
||||||
CACHE_VECTORS="true"
|
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.
|
# 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=
|
# PINECONE_INDEX=
|
||||||
|
|
||||||
# Enable all below if you are using vector database: LanceDB.
|
# 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.
|
# Enable all below if you are using vector database: Weaviate.
|
||||||
# VECTOR_DB="weaviate"
|
# VECTOR_DB="weaviate"
|
||||||
@ -75,10 +78,6 @@ VECTOR_DB="lancedb"
|
|||||||
|
|
||||||
# CLOUD DEPLOYMENT VARIRABLES ONLY
|
# CLOUD DEPLOYMENT VARIRABLES ONLY
|
||||||
# AUTH_TOKEN="hunter2" # This is the password to your application if remote hosting.
|
# 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 ##############
|
######## PASSWORD COMPLEXITY ##############
|
||||||
|
@ -77,7 +77,6 @@ VECTOR_DB="lancedb"
|
|||||||
# CLOUD DEPLOYMENT VARIRABLES ONLY
|
# CLOUD DEPLOYMENT VARIRABLES ONLY
|
||||||
# AUTH_TOKEN="hunter2" # This is the password to your application if remote hosting.
|
# AUTH_TOKEN="hunter2" # This is the password to your application if remote hosting.
|
||||||
# STORAGE_DIR= # absolute filesystem path with no trailing slash
|
# STORAGE_DIR= # absolute filesystem path with no trailing slash
|
||||||
# NO_DEBUG="true"
|
|
||||||
|
|
||||||
###########################################
|
###########################################
|
||||||
######## PASSWORD COMPLEXITY ##############
|
######## PASSWORD COMPLEXITY ##############
|
||||||
|
@ -17,7 +17,6 @@ const SystemSettings = {
|
|||||||
const llmProvider = process.env.LLM_PROVIDER || "openai";
|
const llmProvider = process.env.LLM_PROVIDER || "openai";
|
||||||
const vectorDB = process.env.VECTOR_DB || "lancedb";
|
const vectorDB = process.env.VECTOR_DB || "lancedb";
|
||||||
return {
|
return {
|
||||||
CanDebug: !!!process.env.NO_DEBUG,
|
|
||||||
RequiresAuth: !!process.env.AUTH_TOKEN,
|
RequiresAuth: !!process.env.AUTH_TOKEN,
|
||||||
AuthToken: !!process.env.AUTH_TOKEN,
|
AuthToken: !!process.env.AUTH_TOKEN,
|
||||||
JWTSecret: !!process.env.JWT_SECRET,
|
JWTSecret: !!process.env.JWT_SECRET,
|
||||||
|
Loading…
Reference in New Issue
Block a user