Self-hosted dashboard and admin auth (#4837)
Co-authored-by: kartik-mem0 <kartik.labhshetwar@mem0.ai>
This commit is contained in:
co-authored by
kartik-mem0
parent
15feaa8ac4
commit
db8ac61713
+22
-4
@@ -1,8 +1,8 @@
|
||||
OPENAI_API_KEY=
|
||||
NEO4J_URI=
|
||||
NEO4J_USERNAME=
|
||||
NEO4J_PASSWORD=
|
||||
|
||||
# Optional: other bundled LLM/embedder providers (set the key for the one you want to use)
|
||||
# ANTHROPIC_API_KEY=
|
||||
# GOOGLE_API_KEY=
|
||||
|
||||
POSTGRES_HOST=
|
||||
POSTGRES_PORT=
|
||||
@@ -11,5 +11,23 @@ POSTGRES_USER=
|
||||
POSTGRES_PASSWORD=
|
||||
POSTGRES_COLLECTION_NAME=
|
||||
|
||||
# Optional: set to enable API key authentication on all endpoints
|
||||
ADMIN_API_KEY=
|
||||
JWT_SECRET=
|
||||
# Local development only. Leave false in production.
|
||||
AUTH_DISABLED=false
|
||||
DASHBOARD_URL=http://localhost:3000
|
||||
APP_DB_NAME=mem0_app
|
||||
|
||||
# Default LLM and embedder models. Provider must be in BUNDLED_*_PROVIDERS
|
||||
# (see server/main.py). Override to pin a specific model without editing code.
|
||||
MEM0_DEFAULT_LLM_MODEL=gpt-4.1-nano-2025-04-14
|
||||
MEM0_DEFAULT_EMBEDDER_MODEL=text-embedding-3-small
|
||||
|
||||
# Anonymous telemetry. Sends a single onboarding event per install
|
||||
# (install UUID, email domain, server version, source). No PII.
|
||||
# Set to false to opt out.
|
||||
MEM0_TELEMETRY=true
|
||||
|
||||
# Days of request_logs history to keep when `make prune-logs` runs.
|
||||
# Wire the prune command into cron/systemd in production.
|
||||
REQUEST_LOG_RETENTION_DAYS=30
|
||||
|
||||
Reference in New Issue
Block a user