1- # Server Settings
1+ # ============================================
2+ # OpenMemory - Environment Configuration
3+ # ============================================
4+
5+ # --------------------------------------------
6+ # Backend Server Settings
7+ # --------------------------------------------
28OM_PORT = 8080
39OM_API_KEY = your-secret-api-key-here
410OM_MODE = standard # standard | langgraph
511
12+ # --------------------------------------------
613# Metadata Store
14+ # --------------------------------------------
715# sqlite (default) | postgres
816OM_METADATA_BACKEND = sqlite
917OM_DB_PATH = ./data/openmemory.sqlite
@@ -18,15 +26,19 @@ OM_PG_SCHEMA=public
1826OM_PG_TABLE = openmemory_memories
1927OM_PG_SSL = disable # disable | require
2028
29+ # --------------------------------------------
2130# Vector Store Backend
31+ # --------------------------------------------
2232# sqlite (default) | pgvector | weaviate
2333OM_VECTOR_BACKEND = sqlite
2434OM_VECTOR_TABLE = openmemory_vectors
2535OM_WEAVIATE_URL =
2636OM_WEAVIATE_API_KEY =
2737OM_WEAVIATE_CLASS = OpenMemory
2838
39+ # --------------------------------------------
2940# Embeddings Configuration
41+ # --------------------------------------------
3042# Available providers: openai, gemini, ollama, local, synthetic
3143OM_EMBEDDINGS = openai
3244OM_VEC_DIM = 1536
@@ -42,10 +54,13 @@ OM_ADV_EMBED_PARALLEL=false
4254# Delay between embeddings in milliseconds
4355OM_EMBED_DELAY_MS = 200
4456
57+ # --------------------------------------------
58+ # Embedding Provider API Keys
59+ # --------------------------------------------
4560# OpenAI Embeddings
4661OPENAI_API_KEY = your-openai-api-key-here
4762
48- # Google Gemini Embeddings
63+ # Google Gemini Embeddings
4964GEMINI_API_KEY = your-gemini-api-key-here
5065
5166# Ollama Local Embeddings
@@ -54,14 +69,48 @@ OLLAMA_URL=http://localhost:11434
5469# Local Model Path (for custom embedding models)
5570LOCAL_MODEL_PATH = /path/to/your/local/model
5671
57- # Memory System Settings
72+ # --------------------------------------------
73+ # Memory System Settings
74+ # --------------------------------------------
5875OM_MIN_SCORE = 0.3
5976OM_DECAY_LAMBDA = 0.02
6077
6178# Brain Sector Configuration (auto-classified, but you can override)
6279# Sectors: episodic, semantic, procedural, emotional, reflective
6380
81+ # --------------------------------------------
6482# LangGraph Integration Mode (LGM)
83+ # --------------------------------------------
6584OM_LG_NAMESPACE = default
6685OM_LG_MAX_CONTEXT = 50
6786OM_LG_REFLECTIVE = true
87+
88+ # ============================================
89+ # Frontend Dashboard Settings
90+ # ============================================
91+
92+ # Dashboard API URL (connects to backend)
93+ VITE_DASHBOARD_API = http://localhost:3001/api
94+ VITE_BACKEND_API = http://localhost:8080
95+
96+ # Dashboard Server Port
97+ DASHBOARD_PORT = 3001
98+
99+ # --------------------------------------------
100+ # Authentication Settings
101+ # --------------------------------------------
102+ # Set to 'true' to enable authentication, 'false' to disable
103+ VITE_AUTH_ENABLED = false
104+
105+ # Better Auth Configuration (only needed if auth is enabled)
106+ # Generate a secure random string for BETTER_AUTH_SECRET
107+ # You can use: openssl rand -base64 32
108+ BETTER_AUTH_SECRET = your-secret-key-here
109+ BETTER_AUTH_URL = http://localhost:3001
110+
111+ # --------------------------------------------
112+ # Real-time Updates
113+ # --------------------------------------------
114+ # Auto-refresh interval in milliseconds (default: 5000ms = 5 seconds)
115+ VITE_AUTO_REFRESH_INTERVAL = 5000
116+
0 commit comments