# Required DATABASE_URL=postgres://user:pass@host:5432/dbname # Auth — sign cookies. 64+ random chars. Generate via scripts/gen_auth_secret.sh. AUTH_SECRET=replace-me # Bump to invalidate all live sessions instantly. Leave at 1 normally. OPERATOR_TOKEN_VERSION=1 # File-storage paths inside the bot container DATA_DIR=/data SESSIONS_DIR=/data/sessions MEDIA_DIR=/data/media # Bot fan-out tuning (see apps/bot/src/env.ts) BOT_HEALTH_PORT=8081 BOT_LOG_LEVEL=info BOT_FIRE_CONCURRENCY=8 BOT_GROUP_CONCURRENCY=3 BOT_MAX_SEND_PER_MINUTE=40 # Web WEB_PORT=9000 # Seed (runs once via scripts/db.sh seed) SEED_OPERATOR_USERNAME=admin SEED_OPERATOR_NAME=Operator