-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.example
More file actions
64 lines (51 loc) · 2.65 KB
/
Copy path.env.example
File metadata and controls
64 lines (51 loc) · 2.65 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
# Since the ".env" file is gitignored, you can use the ".env.example" file to
# build a new ".env" file when you clone the repo. Keep this file up-to-date
# when you add new variables to `.env`.
# This file will be committed to version control, so make sure not to have any
# secrets in it. If you are cloning this repo, create a copy of this file named
# ".env" and populate it with your secrets.
# When adding additional environment variables, the schema in "/src/env.js"
# should be updated accordingly.
# Prisma Accelerate (connection pooling + edge support)
# Get from: Prisma Cloud Dashboard → Your Project → Accelerate
DATABASE_URL="prisma+postgres://accelerate.prisma-data.net/?api_key=..."
# Direct database URL (for migrations and schema push)
# Get from: Prisma Cloud Dashboard → Your Project → Database
DIRECT_URL="postgres://...@db.prisma.io:5432/postgres?sslmode=require"
# Prisma Optimize (query insights in development)
# Get from: Prisma Cloud Dashboard → Your Project → Optimize
# OPTIMIZE_API_KEY="eyJhbGci..."
# WorkOS Authentication
WORKOS_API_KEY="sk_test_..."
WORKOS_CLIENT_ID="client_..."
WORKOS_COOKIE_PASSWORD="your-32-character-secret-key"
NEXT_PUBLIC_WORKOS_REDIRECT_URI="http://localhost:3000/api/callback"
# WorkOS Directory Sync (Optional)
# Only required if you want to use WorkOS Directory Sync for SSO-based organizations
# If not provided, app supports individual users and WorkOS organization users
# WORKOS_DIR_ID="directory_..."
# Test User Credentials (for Playwright tests)
# Create a test user in WorkOS Dashboard and add credentials here
TEST_USER_EMAIL="test-user@example.com"
TEST_USER_PASSWORD="test-password"
# Nango Integration Platform
# Get your secret key from: https://app.nango.dev/environment-settings
# Used for OAuth connections and data syncing with external APIs
NANGO_SECRET_KEY_DEV="nango_secret_key_..."
# Nango Webhook Secret (Optional but recommended for production)
# Used to verify webhook requests are from Nango
# Get from: Nango Dashboard → Environment Settings → Webhooks → Generate Secret
# NANGO_WEBHOOK_SECRET="your_webhook_secret_here"
# Linear Integration (for feedback button)
# Get API key from: https://linear.app/settings/api
# Team ID can be found in your Linear workspace URL or team settings
# LINEAR_API_KEY="lin_api_..."
# LINEAR_TEAM_ID="..."
# Vercel Cron Secret (Required for production)
# Generate with: openssl rand -hex 32
# Set in Vercel Dashboard: Project → Settings → Environment Variables
# CRON_SECRET="your-64-character-hex-secret"
# PostHog Analytics
# Get from: PostHog Dashboard → Project Settings
NEXT_PUBLIC_POSTHOG_KEY="phc_..."
NEXT_PUBLIC_POSTHOG_HOST="https://eu.i.posthog.com"