Files
AEmotionStudio-ComfyUI-Disc…/.env.example
T

49 lines
1.9 KiB
Bash

# ComfyUI-DiscordSend Bot Environment Variables
# Copy this file to .env and fill in your values
# These override settings in config.yaml
# =============================================================================
# REQUIRED
# =============================================================================
# Discord bot token from Discord Developer Portal
DISCORDBOT_DISCORD_TOKEN=your_bot_token_here
# =============================================================================
# OPTIONAL - ComfyUI Connection
# =============================================================================
# ComfyUI server URL (default: http://127.0.0.1:8188)
# DISCORDBOT_COMFYUI_URL=http://127.0.0.1:8188
# ComfyUI WebSocket URL (default: auto-derived from COMFYUI_URL)
# DISCORDBOT_COMFYUI_WS_URL=ws://127.0.0.1:8188/ws
# Request timeout in seconds (default: 30)
# DISCORDBOT_COMFYUI_TIMEOUT=30
# =============================================================================
# OPTIONAL - Database
# =============================================================================
# Database URL (default: SQLite in bot/data/bot.db)
# For PostgreSQL: postgresql+asyncpg://user:pass@localhost/dbname
# DISCORDBOT_DATABASE_URL=sqlite+aiosqlite:///bot/data/bot.db
# =============================================================================
# OPTIONAL - Defaults
# =============================================================================
# Maximum pending jobs per user (default: 3)
# DISCORDBOT_MAX_QUEUE_PER_USER=3
# Path to default workflow JSON file
# DISCORDBOT_WORKFLOW_PATH=bot/data/default_workflow_api.json
# =============================================================================
# OPTIONAL - Discord Application
# =============================================================================
# Discord application ID (for slash command registration)
# DISCORDBOT_APPLICATION_ID=your_app_id_here