Repository navigation
Expand file tree
/
Copy path.env.example
More file actions
55 lines (45 loc) · 2.13 KB
/
Copy path.env.example
File metadata and controls
55 lines (45 loc) · 2.13 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
# --- Required -----------------------------------------------------------------
# PostgreSQL connection string.
# In production, include the SSL parameters required by your provider, e.g.:
# postgresql://user:password@host:5432/dbname?sslmode=require
DATABASE_URL=postgresql://user:password@localhost:5432/codenotes
# Google Gemini API key.
# Obtain from: https://aistudio.google.com/app/apikey
GEMINI_API_KEY=your_gemini_api_key_here
# Supabase Public Configuration (Safe for browser/public)
# Obtain from: Supabase Dashboard -> Project Settings -> API
NEXT_PUBLIC_SUPABASE_URL=https://your-project.supabase.co
NEXT_PUBLIC_SUPABASE_ANON_KEY=your_supabase_anon_key_here
# Optional: Supadata API key (Primary YouTube transcript provider)
# Obtain from: https://supadata.ai
SUPADATA_API_KEY=
# Optional: Inngest Background Worker Keys
# Obtain from: Inngest Dashboard -> Event Keys & Signing Keys
INNGEST_EVENT_KEY=
INNGEST_SIGNING_KEY=
# Optional: Error Monitoring & Reporting (Sentry)
# Server-side Sentry DSN:
SENTRY_DSN=
# Browser-side Sentry DSN (Safe for public exposure):
NEXT_PUBLIC_SENTRY_DSN=
# Sentry Build & Sourcemap Upload (Optional):
SENTRY_AUTH_TOKEN=
SENTRY_ORG=
SENTRY_PROJECT=
# Optional: PostgreSQL Root CA Certificate (PEM string format).
# Required in production when connecting to Supabase (e.g. via port 6543 pooler)
# or any PostgreSQL provider using a custom or self-signed Root CA.
# Obtain from Supabase Dashboard -> Project Settings -> Database -> SSL Configuration.
# Never expose this variable via NEXT_PUBLIC_*.
DATABASE_CA_CERT=
# Optional: Product Analytics (PostHog - Client-side only)
# Obtain from: PostHog Dashboard -> Project Settings -> Project API Key
# If NEXT_PUBLIC_POSTHOG_KEY is unset or blank, analytics safely no-ops with 0 outbound requests.
NEXT_PUBLIC_POSTHOG_KEY=
# PostHog Ingestion Host (defaults to https://us.i.posthog.com if omitted):
NEXT_PUBLIC_POSTHOG_HOST=https://us.i.posthog.com
# --- Auto-set -- do not override ----------------------------------------------
# NODE_ENV is set automatically by Next.js:
# development -> next dev
# production -> next build / next start
# Do not set this manually.