# Digital Store Bot v2 - Environment Variables # Copy this file to .env and fill in your actual values # ============================================================================= # REQUIRED - Core Configuration # ============================================================================= # Telegram Bot Token from @BotFather BOT__TOKEN=YOUR_BOT_TOKEN # Your domain for webhooks (e.g., mybot.example.com) BOT__DOMAIN=yourdomain.com # Admin Telegram user IDs (comma-separated) BOT__ADMINS=123456789,987654321 # Developer and support user IDs BOT__DEV_ID=123456789 BOT__SUPPORT_ID=123456789 # Secret key for JWT tokens (32+ characters) SECURITY__SECRET_KEY=your-very-secure-secret-key-minimum-32-characters # ============================================================================= # OPTIONAL - Override YAML defaults # ============================================================================= # Database configuration (if not using SQLite) # DATABASE__DRIVER=postgresql+asyncpg # DATABASE__HOST=postgres # DATABASE__PORT=5432 # DATABASE__NAME=digital_store # DATABASE__USERNAME=botuser # DATABASE__PASSWORD=your_db_password # Redis configuration (if not using default) # REDIS__HOST=redis # REDIS__PORT=6379 # REDIS__PASSWORD=your_redis_password # Payment gateway credentials # PAYMENTS__CRYPTOMUS__API_KEY=your_cryptomus_api_key # PAYMENTS__CRYPTOMUS__MERCHANT_ID=your_cryptomus_merchant_id # SSL email for Let's Encrypt # EXTERNAL__LETSENCRYPT_EMAIL=admin@yourdomain.com # Logging level override # LOGGING__LEVEL=INFO # ============================================================================= # PRODUCTION OVERRIDES # ============================================================================= # Uncomment for production deployment # SHOP__EMAIL=support@yourdomain.com # SHOP__CURRENCY=USD # LOGGING__LEVEL=INFO # DATABASE__ECHO=false