Files
store-scraper-bot/.env.deploy.example
T
tiennm99 0a395bde62 chore: remove cloudflare + docker + legacy migration scripts
Phase 7 cleanup of the Vercel + Upstash consolidation plan:

- delete wrangler.toml, Dockerfile, docker-compose{,.dev}.yml,
  scripts/migrate-atlas-to-upstash.js (one-shot migration done)
- drop wrangler + mongodb devDeps and migrate* npm scripts;
  regenerate package-lock.json (-70 packages)
- prune CF/Wrangler/Atlas-export entries from .gitignore + .vercelignore
- drop MONGODB_URI from .env.deploy.example
- rewrite README for Vercel + Upstash architecture
- refresh stale Cloudflare comments in src/{logger,models,repository}
2026-05-09 21:49:48 +07:00

19 lines
794 B
Bash

# Operator-only file: holds the credentials the deploy + migrate scripts need.
# Copy to .env.deploy and fill in. NEVER commit .env.deploy.
# Telegram (must match values set as Vercel env vars)
TELEGRAM_BOT_TOKEN=
TELEGRAM_WEBHOOK_SECRET=
# Where Telegram should send webhook updates after Phase 6 cutover.
# Format: https://<your-vercel-url>/api/webhook
# Variable name kept as WORKER_URL for register-webhook.js compatibility.
WORKER_URL=https://store-scraper-bot.vercel.app/api/webhook
# Upstash Redis credentials — required by migrate-atlas-to-upstash.js.
# If the Vercel Marketplace Upstash integration is set up, the bot also
# accepts KV_REST_API_URL / KV_REST_API_TOKEN as fallbacks (see upstash.js).
UPSTASH_REDIS_REST_URL=
UPSTASH_REDIS_REST_TOKEN=
KEY_PREFIX=store-scraper-bot: