-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
117 lines (105 loc) · 4.77 KB
/
Copy path.env.example
File metadata and controls
117 lines (105 loc) · 4.77 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
# ---- Database (Postgres) ----
# Any Postgres works. Neon's serverless driver is used automatically for
# *.neon.tech hosts; everything else uses node-postgres. Force with DB_DRIVER.
DATABASE_URL="postgresql://user:password@host/dbname?sslmode=require"
# Optional: "neon" | "pg"
DB_DRIVER=""
# ---- Clerk (Auth) ----
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=""
CLERK_SECRET_KEY=""
CLERK_WEBHOOK_SECRET="" # From Clerk Dashboard -> Webhooks -> Signing secret
NEXT_PUBLIC_CLERK_SIGN_IN_URL="/login"
NEXT_PUBLIC_CLERK_SIGN_UP_URL="/signup"
NEXT_PUBLIC_CLERK_AFTER_SIGN_IN_URL="/dashboard"
NEXT_PUBLIC_CLERK_AFTER_SIGN_UP_URL="/dashboard"
# ---- Site identity ----
# Origin the app is served from. Used for OAuth callbacks, share links, and
# Stripe return URLs. (NEXTAUTH_URL is accepted as a deprecated fallback.)
NEXT_PUBLIC_APP_URL="http://localhost:3000"
# Optional: separate marketing origin (split-domain deployments only). When set,
# auth/legal/marketing routes are served from here and the proxy redirects
# app-only routes to NEXT_PUBLIC_APP_URL. Leave unset for a single domain.
NEXT_PUBLIC_MARKETING_URL=""
# Optional overrides for product name/description shown in titles and the manifest.
NEXT_PUBLIC_APP_NAME=""
NEXT_PUBLIC_APP_DESCRIPTION=""
# Optional: contact address shown on legal/support pages.
NEXT_PUBLIC_SUPPORT_EMAIL=""
# Optional: cookie Domain for split-domain deployments (e.g. ".example.com").
NEXT_PUBLIC_COOKIE_DOMAIN=""
# ---- Google OAuth ----
GOOGLE_CLIENT_ID=""
GOOGLE_CLIENT_SECRET=""
# ---- Upstash Redis (Cache) ----
UPSTASH_REDIS_REST_URL=""
UPSTASH_REDIS_REST_TOKEN=""
# Set to "false" to disable GSC response caching even when Redis is configured.
ENABLE_GSC_CACHE=""
# ---- Encryption ----
# Used to encrypt/decrypt Google OAuth tokens at rest.
# Generate with: openssl rand -hex 32
TOKEN_ENCRYPTION_KEY=""
# ---- Cron Jobs ----
# Protects the /api/cron/* endpoints. Vercel sends this automatically.
# Generate with: openssl rand -hex 32
CRON_SECRET=""
# ---- Enterprise (hosted only; see src/ee/README.md) ----
# Everything in this section is optional. Leave unset for a self-hosted,
# AGPL-only deployment: billing is unlimited, "/" is a minimal landing page,
# and no telemetry or support widget loads.
# Set to "true" to serve the hosted marketing site (src/ee/marketing) at "/".
NEXT_PUBLIC_EE_MARKETING=""
# Base URL (no trailing slash) for marketing screenshots, e.g. a CDN origin.
NEXT_PUBLIC_MARKETING_ASSETS_URL=""
# Set to "true" to load Vercel Analytics + Speed Insights (consent-gated).
NEXT_PUBLIC_VERCEL_TELEMETRY=""
# ---- Stripe (Billing; enterprise) ----
# Setting STRIPE_SECRET_KEY switches the access seam (src/lib/access) from the
# unlimited provider to Stripe-backed entitlements.
STRIPE_SECRET_KEY=""
STRIPE_WEBHOOK_SECRET=""
# Live checkout requires a documented tax decision. Use "configured" only after
# Stripe Tax registrations/settings are ready, or "not_required" after sign-off.
STRIPE_TAX_READINESS=""
STRIPE_SOLO_MONTHLY_PRICE_ID=""
STRIPE_SOLO_ANNUAL_PRICE_ID=""
STRIPE_TEAM_MONTHLY_PRICE_ID=""
STRIPE_TEAM_ANNUAL_PRICE_ID=""
# Promotion code ID (promo_...) for eligible beta founders. Applied server-side only.
STRIPE_FOUNDER_PROMOTION_CODE_ID=""
# Required for paid launch. Configure it with subscription updates disabled;
# plan changes must use the app so quota checks run before Stripe proration.
STRIPE_PORTAL_CONFIGURATION_ID=""
# Temporary mapping for active subscriptions created with the old one-price checkout.
STRIPE_LEGACY_PRICE_ID=""
# Legacy beta gate. Keep true until the billing_v2 feature flag is enabled for the intended rollout cohort.
BETA_ACTIVE="true"
# Set to "true" once Stripe is fully configured to show paid-plan UI.
NEXT_PUBLIC_STRIPE_ENABLED="false"
# ---- Rate Limiting ----
# Set to "true" to enforce API rate limits; when unset, limits are logged but not enforced
ENABLE_API_RATE_LIMITING=""
# Comma-separated hostnames allowed for Stripe redirect URLs
APP_BASE_URL_ALLOWLIST="localhost,example.com"
# ---- Kit (Newsletter) ----
KIT_API_KEY=""
KIT_FORM_ID=""
# ---- PostHog (Consent-Gated Product Analytics) ----
NEXT_PUBLIC_POSTHOG_KEY=""
NEXT_PUBLIC_POSTHOG_HOST="https://us.i.posthog.com"
# ---- Test-only (Playwright; never needed to run the app) ----
# Clerk testing token for E2E sign-in (Clerk Dashboard -> Testing tokens)
CLERK_TESTING_TOKEN=""
# Existing users in your Clerk dev instance used by the authenticated specs
TEST_USER_EMAIL=""
TEST_USER_CLERK_ID=""
TEST_USER_B_EMAIL=""
TEST_USER_B_CLERK_ID=""
# Dedicated disposable Clerk dev user used only by demo screenshot generation
SCREENSHOT_CLERK_ID=""
# A property UUID owned by TEST_USER (for property/IDOR specs)
TEST_PROPERTY_ID=""
# Base URL the specs target (defaults to http://localhost:3000)
TEST_BASE_URL=""
# Set to "true" to run the DB concurrency integration test
RUN_DB_CONCURRENCY_TESTS=""