2025-10-30 21:07:53 -05:00
|
|
|
# ============================================================================
|
|
|
|
|
# Authentication (Optional - Leave empty to disable auth)
|
|
|
|
|
# ============================================================================
|
|
|
|
|
|
|
|
|
|
# Login email (required to enable auth)
|
|
|
|
|
CLAUDE_OS_EMAIL=admin@example.com
|
|
|
|
|
|
|
|
|
|
# Option 1: Plain password (development only - auto-hashed)
|
|
|
|
|
CLAUDE_OS_PASSWORD=your_secure_password_here
|
|
|
|
|
|
|
|
|
|
# Option 2: Pre-hashed password (production - recommended)
|
|
|
|
|
# Generate: python3 -c "from passlib.context import CryptContext; print(CryptContext(schemes=['bcrypt']).hash('your_password'))"
|
|
|
|
|
# CLAUDE_OS_PASSWORD_HASH=$2b$12$xyz...
|
|
|
|
|
|
|
|
|
|
# JWT secret key (auto-generated if not set)
|
|
|
|
|
# Generate: python3 -c "import secrets; print(secrets.token_urlsafe(32))"
|
|
|
|
|
# CLAUDE_OS_SECRET_KEY=your-super-secret-key-min-32-chars
|
|
|
|
|
|
|
|
|
|
# ============================================================================
|
2025-10-22 13:29:28 -05:00
|
|
|
# Ollama Configuration
|
2025-10-30 21:07:53 -05:00
|
|
|
# ============================================================================
|
|
|
|
|
|
2025-10-27 17:41:44 -05:00
|
|
|
OLLAMA_HOST=http://localhost:11434
|
|
|
|
|
OLLAMA_MODEL=llama3.1:latest
|
2025-10-22 13:29:28 -05:00
|
|
|
OLLAMA_EMBED_MODEL=nomic-embed-text
|
|
|
|
|
|
2025-10-27 17:41:44 -05:00
|
|
|
# SQLite Database
|
|
|
|
|
SQLITE_DB_PATH=data/claude-os.db
|
2025-10-22 13:29:28 -05:00
|
|
|
|
|
|
|
|
# MCP Server Configuration
|
|
|
|
|
MCP_SERVER_HOST=0.0.0.0
|
|
|
|
|
MCP_SERVER_PORT=8051
|
|
|
|
|
|
|
|
|
|
# RAG Configuration
|
2025-10-27 17:41:44 -05:00
|
|
|
CHUNK_SIZE=1536
|
|
|
|
|
CHUNK_OVERLAP=256
|
|
|
|
|
TOP_K_RETRIEVAL=20
|
|
|
|
|
RERANK_TOP_N=10
|
2025-10-22 13:29:28 -05:00
|
|
|
|
2025-10-23 19:23:05 -05:00
|
|
|
# KB Type Configuration
|
|
|
|
|
# Default type for new knowledge bases: generic, code, documentation, agent-os
|
|
|
|
|
DEFAULT_KB_TYPE=generic
|
|
|
|
|
|