41 lines
1.4 KiB
Text
41 lines
1.4 KiB
Text
# =============================================================================
|
|
# MEMORA ENVIRONMENT CONFIGURATION
|
|
# =============================================================================
|
|
# Copy this file to .env and update with your values
|
|
# Both services (API and Control Plane) read from this single file
|
|
|
|
# =============================================================================
|
|
# API SERVICE (MEMORA_API_*)
|
|
# =============================================================================
|
|
|
|
# Database
|
|
MEMORA_API_DATABASE_URL=postgresql://memora:memora_dev@localhost:5432/memora
|
|
|
|
# LLM Provider: "openai", "groq", or "ollama"
|
|
MEMORA_API_LLM_PROVIDER=groq
|
|
|
|
# LLM Model (provider-specific)
|
|
MEMORA_API_LLM_MODEL=openai/gpt-oss-20b
|
|
|
|
# API Key (not needed for ollama)
|
|
MEMORA_API_LLM_API_KEY=your_api_key_here
|
|
|
|
# Optional: Custom base URL (for ollama or custom endpoints)
|
|
# MEMORA_API_LLM_BASE_URL=http://localhost:11434/v1
|
|
|
|
# API Server Configuration (optional)
|
|
# MEMORA_API_HOST=0.0.0.0
|
|
# MEMORA_API_PORT=8080
|
|
|
|
MEMORA_API_MCP_ENABLED=true
|
|
|
|
# =============================================================================
|
|
# CONTROL PLANE SERVICE (MEMORA_CP_*)
|
|
# =============================================================================
|
|
|
|
# Dataplane API URL (where the control plane connects to)
|
|
MEMORA_CP_DATAPLANE_API_URL=http://localhost:8080
|
|
|
|
# Control Plane Server Configuration (optional)
|
|
# MEMORA_CP_PORT=3000
|
|
# MEMORA_CP_HOSTNAME=0.0.0.0
|