SPB Git forge

spb/fetcha

Public
11commits 1branches 0releases
1.5 MBsize
maindefault branch
16 days agolast push
TypeScript 97.5% SQL 1.4% Python 0.8%
1.7 KB · 49 lines dotenv
Raw Blame History
1# ---- Core ----2NODE_ENV=development3DATABASE_URL=postgres://localhost:5432/fetcha4REDIS_URL=redis://127.0.0.1:63795AUTH_SECRET=change-me-32-bytes-minimum6# Public URL of the web app (marketing + dashboard) and the API7WEB_URL=http://localhost:82208API_URL=http://127.0.0.1:82219NEXT_PUBLIC_SITE_URL=http://localhost:822010NEXT_PUBLIC_API_URL=http://localhost:822011API_PORT=822112WEB_PORT=822013# Shared secret between the web app and the API (playground, internal calls)14INTERNAL_SERVICE_TOKEN=change-me1516# ---- Email (Resend) ----17RESEND_API_KEY=18EMAIL_FROM="Fetcha <hello@fetcha.co>"19EMAIL_FROM_TRANSACTIONAL="Fetcha <notifications@fetcha.co>"2021# ---- Billing (Stripe, optional in V1) ----22STRIPE_SECRET_KEY=23STRIPE_WEBHOOK_SECRET=2425# ---- Upstream providers (never exposed to customers) ----26DECODO_USERNAME=27DECODO_PASSWORD=28OXYLABS_USERNAME=29OXYLABS_PASSWORD=30SOAX_USERNAME=31SOAX_PASSWORD=3233# ---- Admin ----34ADMIN_EMAILS=you@example.com3536# --- v0.2: managed browser, HTTP engine, crawler ---------------------------37# Managed Chromium (Playwright). Install the browser once: `pnpm --filter @fetcha/browser install-browser`.38FETCHA_BROWSER_ENABLED=139FETCHA_BROWSER_CONCURRENCY=640# "chromium" = full Chromium build (Patchright); "chrome" uses an installed Google Chrome (prod). FETCHA_BROWSER_HEADLESS=0 = real off-screen window (needs a GUI session).41FETCHA_BROWSER_CHANNEL=chromium42FETCHA_BROWSER_HEADLESS=143# Prefer HTTP/2 towards origins (set 0 to force HTTP/1.1).44FETCHA_HTTP2=145# Crawl jobs executed in parallel by this API process.46FETCHA_CRAWL_PARALLEL_JOBS=447# Captcha solver (2captcha.com) for Cloudflare Turnstile challenges in browser mode. Empty = disabled.48TWOCAPTCHA_API_KEY=49