forked from Kanba-co/kanba
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenv.example
More file actions
33 lines (27 loc) · 1.4 KB
/
env.example
File metadata and controls
33 lines (27 loc) · 1.4 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
# Database Configuration
# Choose your database provider: 'supabase' (default) or 'postgresql'
DATABASE_PROVIDER=supabase
# Supabase Configuration (default)
NEXT_PUBLIC_SUPABASE_URL=your_supabase_project_url
NEXT_PUBLIC_SUPABASE_ANON_KEY=your_supabase_anon_key
SUPABASE_SERVICE_ROLE_KEY=your_supabase_service_role_key
# PostgreSQL Configuration (for Supabase connection)
DATABASE_URL=postgresql://postgres:[password]@[host]:[port]/postgres
DIRECT_URL=postgresql://postgres:[password]@[host]:[port]/postgres
# Local PostgreSQL Configuration (optional - for local development)
# Only needed when DATABASE_PROVIDER=postgresql
# DATABASE_URL=postgresql://username:password@localhost:5432/kanba_db
# DIRECT_URL=postgresql://username:password@localhost:5432/kanba_db
# Stripe Configuration (optional)
STRIPE_SECRET_KEY=your_stripe_secret_key
NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY=your_stripe_publishable_key
STRIPE_WEBHOOK_SECRET=your_stripe_webhook_secret
# Site Configuration
NEXT_PUBLIC_SITE_URL=http://localhost:3000
NEXTAUTH_URL=http://localhost:3000
NEXTAUTH_SECRET=your_nextauth_secret
# Example PostgreSQL connection strings:
# Local PostgreSQL: postgresql://username:password@localhost:5432/kanba_db
# Docker PostgreSQL: postgresql://postgres:password@localhost:5432/kanba_db
# Railway PostgreSQL: postgresql://username:password@host:port/database
# Supabase PostgreSQL: postgresql://postgres:[password]@[host]:[port]/postgres