Fix .env.example: comment out DATABASE_URL, add all settings and commands reference

This commit is contained in:
2026-01-12 17:34:20 +01:00
parent 6b2a253573
commit 1c5e9d3f45

View File

@@ -53,21 +53,22 @@ MAX_CONVERSATION_HISTORY=20
CONVERSATION_TIMEOUT_MINUTES=60 CONVERSATION_TIMEOUT_MINUTES=60
# =========================================== # ===========================================
# Database (PostgreSQL) # Database (PostgreSQL) - Optional
# =========================================== # ===========================================
# PostgreSQL connection URL (if not set, uses in-memory storage) # PostgreSQL connection URL (if not set, uses in-memory storage)
# Format: postgresql+asyncpg://user:password@host:port/database # 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 # Password for PostgreSQL when using docker-compose
POSTGRES_PASSWORD=daemon POSTGRES_PASSWORD=daemon
# Echo SQL statements for debugging (true/false) # Echo SQL statements for debugging (true/false)
# DATABASE_ECHO=false DATABASE_ECHO=false
# Connection pool settings # Connection pool settings
# DATABASE_POOL_SIZE=5 DATABASE_POOL_SIZE=5
# DATABASE_MAX_OVERFLOW=10 DATABASE_MAX_OVERFLOW=10
# =========================================== # ===========================================
# Web Search (SearXNG) # Web Search (SearXNG)
@@ -94,7 +95,19 @@ LOG_LEVEL=INFO
# LOG_FORMAT=%(asctime)s - %(name)s - %(levelname)s - %(message)s # LOG_FORMAT=%(asctime)s - %(name)s - %(levelname)s - %(message)s
# =========================================== # ===========================================
# Monitoring Commands # Commands Reference
# =========================================== # ===========================================
# Use !status (admin only) for detailed metrics # Monitoring:
# Use !health (anyone) for quick health check # !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