Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Anything Llm
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mirrored_repos
MachineLearning
Mintplex Labs
Anything Llm
Commits
fecfb0fa
Commit
fecfb0fa
authored
1 year ago
by
timothycarambat
Browse files
Options
Downloads
Patches
Plain Diff
chore: remove unused NO_DEBUG env
parent
fcb591d3
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
docker/.env.example
+4
-5
4 additions, 5 deletions
docker/.env.example
server/.env.example
+0
-1
0 additions, 1 deletion
server/.env.example
server/models/systemSettings.js
+0
-1
0 additions, 1 deletion
server/models/systemSettings.js
with
4 additions
and
7 deletions
docker/.env.example
+
4
−
5
View file @
fecfb0fa
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 ##############
...
...
This diff is collapsed.
Click to expand it.
server/.env.example
+
0
−
1
View file @
fecfb0fa
...
...
@@ -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 ##############
...
...
This diff is collapsed.
Click to expand it.
server/models/systemSettings.js
+
0
−
1
View file @
fecfb0fa
...
...
@@ -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
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment