93 lines
2.0 KiB
Plaintext
93 lines
2.0 KiB
Plaintext
MAX_HISTORY_MESSAGES=10
|
|
MAX_TOOL_ITERATIONS=10
|
|
REQUEST_TIMEOUT=30
|
|
|
|
# LLM Settings
|
|
LLM_TEMPERATURE=0.2
|
|
|
|
# Persistence
|
|
DATA_STORAGE_DIR=data
|
|
|
|
# Network configuration
|
|
HOST=0.0.0.0
|
|
PORT=3080
|
|
|
|
# Build informations (Synced with pyproject.toml via bootstrap)
|
|
IMAGE_NAME=
|
|
LIBRECHAT_VERSION=
|
|
PYTHON_VERSION=
|
|
PYTHON_VERSION_SHORT=
|
|
RAG_VERSION=
|
|
RUNNER=
|
|
SERVICE_NAME=
|
|
|
|
# --- SECURITY KEYS (CRITICAL) ---
|
|
# These are used for session tokens and encrypting sensitive data in MongoDB.
|
|
# If you lose these, you lose access to encrypted stored credentials.
|
|
JWT_SECRET=
|
|
JWT_REFRESH_SECRET=
|
|
CREDS_KEY=
|
|
CREDS_IV=
|
|
|
|
# --- DATABASES (AUTO-SECURED) ---
|
|
# Alfred uses MongoDB for application state and PostgreSQL for Vector RAG.
|
|
# Passwords will be generated as 24-character secure tokens if left blank.
|
|
|
|
# MongoDB (Application Data)
|
|
MONGO_URI=
|
|
MONGO_HOST=mongodb
|
|
MONGO_PORT=27017
|
|
MONGO_USER=alfred
|
|
MONGO_PASSWORD=
|
|
MONGO_DB_NAME=alfred
|
|
|
|
# PostgreSQL (Vector Database / RAG)
|
|
POSTGRES_URI=
|
|
POSTGRES_HOST=vectordb
|
|
POSTGRES_PORT=5432
|
|
POSTGRES_USER=alfred
|
|
POSTGRES_PASSWORD=
|
|
POSTGRES_DB_NAME=alfred
|
|
|
|
# --- EXTERNAL SERVICES ---
|
|
# Media Metadata (Required)
|
|
# Get your key at https://www.themoviedb.org/
|
|
TMDB_API_KEY=
|
|
TMDB_BASE_URL=https://api.themoviedb.org/3
|
|
|
|
# qBittorrent integration
|
|
QBITTORRENT_URL=http://qbittorrent:16140
|
|
QBITTORRENT_USERNAME=admin
|
|
QBITTORRENT_PASSWORD=
|
|
QBITTORRENT_PORT=16140
|
|
|
|
# Meilisearch
|
|
MEILI_ENABLED=FALSE
|
|
MEILI_NO_ANALYTICS=TRUE
|
|
MEILI_HOST=http://meilisearch:7700
|
|
MEILI_MASTER_KEY=
|
|
|
|
# --- LLM CONFIGURATION ---
|
|
# Providers: 'local', 'openai', 'anthropic', 'deepseek', 'google', 'kimi'
|
|
DEFAULT_LLM_PROVIDER=local
|
|
|
|
# Local LLM (Ollama)
|
|
OLLAMA_BASE_URL=http://ollama:11434
|
|
OLLAMA_MODEL=llama3.3:latest
|
|
|
|
# --- API KEYS (OPTIONAL) ---
|
|
# Fill only the ones you intend to use.
|
|
ANTHROPIC_API_KEY=
|
|
DEEPSEEK_API_KEY=
|
|
GOOGLE_API_KEY=
|
|
KIMI_API_KEY=
|
|
OPENAI_API_KEY=
|
|
|
|
# --- RAG ENGINE ---
|
|
# Enable/Disable the Retrieval Augmented Generation system
|
|
RAG_ENABLED=TRUE
|
|
RAG_API_URL=http://rag_api:8000
|
|
RAG_API_PORT=8000
|
|
EMBEDDINGS_PROVIDER=ollama
|
|
EMBEDDINGS_MODEL=nomic-embed-text
|