# Database DATABASE_URL="postgresql://dragons:stash@localhost:5432/dragonsstash?schema=public" POSTGRES_USER="dragons" POSTGRES_PASSWORD="stash" POSTGRES_DB="dragonsstash" # Auth.js AUTH_SECRET="generate-with-openssl-rand-base64-32" AUTH_TRUST_HOST=true # GitHub OAuth (optional) AUTH_GITHUB_ID="" AUTH_GITHUB_SECRET="" # App # APP_PORT controls the port the container listens on AND how it is exposed on the host. # If you change APP_PORT, also update NEXT_PUBLIC_APP_URL to match. NEXT_PUBLIC_APP_URL="http://localhost:3000" APP_PORT=3000 # API key for external access to package/ingestion endpoints (optional) TELEGRAM_API_KEY="" # Telegram integration (get from https://my.telegram.org/apps) TELEGRAM_API_ID="" TELEGRAM_API_HASH="" # Telegram Bot (create via @BotFather on Telegram) BOT_TOKEN="" BOT_USERNAME="" # e.g. "MyDragonsStashBot" — enables deep link in Settings # Worker (only needed when running worker container) WORKER_INTERVAL_MINUTES=60 WORKER_TEMP_DIR="/tmp/zips" TDLIB_STATE_DIR="/data/tdlib" WORKER_MAX_ZIP_SIZE_MB=4096 MULTIPART_TIMEOUT_HOURS=0 LOG_LEVEL="info"