-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
38 lines (35 loc) · 1.61 KB
/
Copy path.env.example
File metadata and controls
38 lines (35 loc) · 1.61 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
# ---------------------------------------------------------------
# LOCAL DEVELOPMENT (Docker)
# ---------------------------------------------------------------
# Copy this file to .env.local and fill in the values.
# .env.local is never committed (see .gitignore).
DATABASE_URL="postgresql://magic:magic@localhost:5432/magicaibuilder"
# ---------------------------------------------------------------
# PRODUCTION (Supabase + Vercel)
# ---------------------------------------------------------------
# Set these in Vercel > Project > Settings > Environment Variables.
# Never put real credentials in this file.
#
# DATABASE_URL="postgresql://postgres:[PASSWORD]@db.[PROJECT-REF].supabase.co:5432/postgres"
#
# To get your DATABASE_URL:
# Supabase → your project → Project Settings → Database → Connection string → URI
#
# After changing the DATABASE_URL, run migrations on Supabase:
# DATABASE_URL="postgresql://..." npx prisma migrate deploy
# ---------------------------------------------------------------
# Authentication (NextAuth.js v5)
# ---------------------------------------------------------------
# Generate AUTH_SECRET with: npx auth secret
AUTH_SECRET=
# Google OAuth (https://console.cloud.google.com/apis/credentials)
GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET=
# Public app URL for callbacks (e.g., http://localhost:3000)
NEXT_PUBLIC_APP_URL=http://localhost:3000
# ---------------------------------------------------------------
# AI (optional)
# ---------------------------------------------------------------
# Set one of these server-side only (never expose to the browser).
ANTHROPIC_API_KEY=
OPENAI_API_KEY=