Add database configuration to .env.example
This commit is contained in:
20
.env.example
20
.env.example
@@ -49,6 +49,26 @@ BOT_STATUS=for mentions
|
|||||||
# Number of messages to remember per user (higher = more context, more tokens)
|
# Number of messages to remember per user (higher = more context, more tokens)
|
||||||
MAX_CONVERSATION_HISTORY=20
|
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)
|
# Web Search (SearXNG)
|
||||||
# ===========================================
|
# ===========================================
|
||||||
|
|||||||
Reference in New Issue
Block a user