Add database configuration to .env.example

This commit is contained in:
2026-01-12 15:33:08 +01:00
parent 3d5aa0b76b
commit 6b2a253573

View File

@@ -49,6 +49,26 @@ BOT_STATUS=for mentions
# Number of messages to remember per user (higher = more context, more tokens)
MAX_CONVERSATION_HISTORY=20
# Minutes of inactivity before starting a new conversation (5-1440)
CONVERSATION_TIMEOUT_MINUTES=60
# ===========================================
# Database (PostgreSQL)
# ===========================================
# PostgreSQL connection URL (if not set, uses in-memory storage)
# Format: postgresql+asyncpg://user:password@host:port/database
DATABASE_URL=postgresql+asyncpg://daemon:daemon@localhost:5432/daemon_boyfriend
# Password for PostgreSQL when using docker-compose
POSTGRES_PASSWORD=daemon
# Echo SQL statements for debugging (true/false)
# DATABASE_ECHO=false
# Connection pool settings
# DATABASE_POOL_SIZE=5
# DATABASE_MAX_OVERFLOW=10
# ===========================================
# Web Search (SearXNG)
# ===========================================