-
-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy path.env.example
More file actions
98 lines (81 loc) · 3.52 KB
/
Copy path.env.example
File metadata and controls
98 lines (81 loc) · 3.52 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
# Steam Web API key https://steamcommunity.com/dev/apikey
STEAM_WEB_API="123"
# Supabase configuration
# Free host: https://supabase.com/
# OR you can self host: https://supabase.com/docs/guides/self-hosting/docker
DATABASE_URL="postgresql://postgres:your-super-secret-and-long-postgres-password@localhost:5432/postgres"
# NextAuth configuration
NEXTAUTH_URL="http://localhost:3000"
# Generate your own by running `openssl rand -base64 32`
NEXTAUTH_SECRET="RtJwMNL9t55O4ExIKlM0i3Nt7FoLVvurFk6/ba3WGN0="
# Twitch configuration
# Used https://dev.twitch.tv/console/apps/
# On dev.twitch.tv, for oauth redirect url, use http://localhost:3000/api/auth/callback/twitch
TWITCH_CLIENT_ID="123"
TWITCH_CLIENT_SECRET="123"
# URL to your dotabod backend instance
NEXT_PUBLIC_GSI_WEBSOCKET_URL="http://localhost:81"
# If you want i18n support, make your own project. Here's ours: https://crowdin.com/project/dotabod
CROWDIN_TOKEN="123"
# --- Additional Configuration ---
# Vercel Edge Config ID used for maintenance mode and feature flags
EDGE_CONFIG=""
# Sentry error monitoring (server and browser)
SENTRY_DSN=""
NEXT_PUBLIC_SENTRY_DSN=""
# HubSpot private app token (scope: conversations.visitor_identification.tokens.create)
# Used server-side to generate verified visitor identification tokens for the chat widget
HUBSPOT_PRIVATE_APP_TOKEN=""
# Stripe API configuration
# Secret key for server-side Stripe calls
STRIPE_SECRET_KEY=""
# Signing secret used to verify Stripe webhooks
STRIPE_WEBHOOK_SECRET=""
# Enable verbose Stripe webhook logging
STRIPE_WEBHOOK_DEBUG="false"
# Price ID for gifting chat credit
NEXT_PUBLIC_STRIPE_CREDIT_PRICE_ID=""
# Price IDs for Pro subscriptions
NEXT_PUBLIC_STRIPE_PRO_MONTHLY_PRICE_ID=""
NEXT_PUBLIC_STRIPE_PRO_ANNUAL_PRICE_ID=""
NEXT_PUBLIC_STRIPE_PRO_LIFETIME_PRICE_ID=""
# Fallback pricing used when refunding gifts
MONTHLY_SUBSCRIPTION_PRICE_CENTS="500"
ANNUAL_SUBSCRIPTION_PRICE_CENTS="4800"
LIFETIME_SUBSCRIPTION_PRICE_CENTS="30000"
# Twitch bot and automation settings
TWITCH_BOT_PROVIDERID=""
# Token required for cron endpoints
CRON_SECRET=""
# Twitch ID used for 7TV cron tasks
CRON_TWITCH_ID=""
# Auth token for 7TV API requests
SEVENTV_AUTH=""
# Third-party API keys (LASTFM_API_KEY is exposed to the client as NEXT_PUBLIC_LASTFM_API_KEY via next.config.mjs)
LASTFM_API_KEY=""
# NOWPayments crypto checkout (active provider — BTC, USDT, USDC, ETH, 100+)
# Generate both keys in the NOWPayments dashboard: Store Settings → API Keys
# (the IPN secret is only shown in full on creation, save it then)
NOWPAYMENTS_API_KEY=""
NOWPAYMENTS_IPN_SECRET=""
# OpenNode (legacy — kept only for in-flight charge settlement; do not use for new checkouts)
OPENNODE_API_KEY=""
PAYLINK_SIGNING_SECRET=""
OPENNODE_CHECKOUT_DEFAULT_LN="true"
OPENNODE_CHECKOUT_HIDE_FIAT="false"
# PayPal checkout (decoupled — PayPal owns billing; we sync the subscriptions table)
# Create a REST app at developer.paypal.com → Apps & Credentials.
PAYPAL_CLIENT_ID=""
PAYPAL_CLIENT_SECRET=""
# Webhook ID from the configured PayPal webhook (used for signature verification)
PAYPAL_WEBHOOK_ID=""
# Billing plan IDs created under a PayPal product (Catalog → Plans). Monthly/annual.
# Lifetime uses a one-time order priced from LIFETIME_SUBSCRIPTION_PRICE_CENTS above.
PAYPAL_PLAN_ID_MONTHLY=""
PAYPAL_PLAN_ID_ANNUAL=""
# Optional: override the API base. Defaults to sandbox unless NODE_ENV=production.
PAYPAL_API_BASE=""
# Analytics configuration
NEXT_PUBLIC_GA_MEASUREMENT_ID=""
# Production domain for SEO canonical URLs
NEXT_PUBLIC_VERCEL_PROJECT_PRODUCTION_URL=""