-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.env.example
42 lines (33 loc) · 1.45 KB
/
.env.example
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
# 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.
# Application Environment Configuration
# Replace placeholders with your actual credentials
# Database Connections (Supabase/Supavisor)
# Get from Supabase Dashboard -> Project Settings -> Database
DATABASE_URL='postgresql://<USER>:<PASSWORD>@<HOST>:6543/postgres?pgbouncer=true'
DIRECT_URL='postgresql://<USER>:<PASSWORD>@<HOST>:5432/postgres'
# Authentication (Clerk.com)
# Get from Clerk Dashboard -> API Keys
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=pk_test_...
CLERK_SECRET_KEY=sk_test_...
CLERK_WEBHOOK_SECRET=whsec_...
# OpenAI API
# Create at https://platform.openai.com/api-keys
OPENAI_API_KEY=sk-proj-...
# Redis Storage (Upstash)
# Get from Upstash Console -> Database Details
KV_URL="rediss://default:<PASSWORD>@<HOST>:6379"
KV_REST_API_TOKEN="<TOKEN>"
KV_REST_API_READ_ONLY_TOKEN="<READ_ONLY_TOKEN>"
KV_REST_API_URL="https://<HOST>"
# Vercel Cron Security
# Generate random string for cron job validation
CRON_SECRET=<RANDOM_STRING>
# Email Service (Resend)
# Get from Resend Dashboard -> API Keys
RESEND_API_KEY=re_...
RESEND_FROM_EMAIL="Your App Name <from@domain.com>"