Fix .env.example: comment out DATABASE_URL, add all settings and commands reference
This commit is contained in:
29
.env.example
29
.env.example
@@ -53,21 +53,22 @@ MAX_CONVERSATION_HISTORY=20
|
||||
CONVERSATION_TIMEOUT_MINUTES=60
|
||||
|
||||
# ===========================================
|
||||
# Database (PostgreSQL)
|
||||
# Database (PostgreSQL) - Optional
|
||||
# ===========================================
|
||||
# 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
|
||||
# Uncomment to enable persistent memory:
|
||||
# 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
|
||||
DATABASE_ECHO=false
|
||||
|
||||
# Connection pool settings
|
||||
# DATABASE_POOL_SIZE=5
|
||||
# DATABASE_MAX_OVERFLOW=10
|
||||
DATABASE_POOL_SIZE=5
|
||||
DATABASE_MAX_OVERFLOW=10
|
||||
|
||||
# ===========================================
|
||||
# Web Search (SearXNG)
|
||||
@@ -94,7 +95,19 @@ LOG_LEVEL=INFO
|
||||
# LOG_FORMAT=%(asctime)s - %(name)s - %(levelname)s - %(message)s
|
||||
|
||||
# ===========================================
|
||||
# Monitoring Commands
|
||||
# Commands Reference
|
||||
# ===========================================
|
||||
# Use !status (admin only) for detailed metrics
|
||||
# Use !health (anyone) for quick health check
|
||||
# Monitoring:
|
||||
# !status - Detailed metrics (admin only)
|
||||
# !health - Quick health check (anyone)
|
||||
#
|
||||
# Memory (requires database):
|
||||
# !setname <name> - Set your preferred name
|
||||
# !clearname - Reset to Discord display name
|
||||
# !remember <fact> - Tell the bot something about you
|
||||
# !whatdoyouknow - See what the bot remembers
|
||||
# !forgetme - Clear all facts about you
|
||||
#
|
||||
# Admin Memory:
|
||||
# !setusername @user <name> - Set name for another user
|
||||
# !teachbot @user <fact> - Add a fact about a user
|
||||
|
||||
Reference in New Issue
Block a user