-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
27 lines (21 loc) · 1.04 KB
/
.env.example
File metadata and controls
27 lines (21 loc) · 1.04 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
# Database (SQLite for local development)
# Stored in .data/ to follow project pattern for transient local artifacts
DATABASE_URL="file:./.data/dev.db"
# For production, migrate to PostgreSQL:
# DATABASE_URL="postgresql://user:password@host/database?sslmode=require"
# DIRECT_URL="postgresql://user:password@host/database?sslmode=require"
# Enables Claude Code's direct database access for debugging (mcp__mcp-dev-db__* tools)
# Dev-only - never enable in production
MCP_DEV_ONLY_DB_ACCESS=true
# Application
NEXT_PUBLIC_APP_URL="http://localhost:3000"
# Authentication (BetterAuth)
# For production, generate a secure 32+ character secret:
# Option 1: openssl rand -base64 32
# Option 2: npx @better-auth/cli secret
# Docs: https://www.better-auth.com/docs/installation#set-environment-variables
BETTER_AUTH_SECRET="dev-only-insecure-secret-do-not-use-in-production"
BETTER_AUTH_URL="http://localhost:3000"
REPLICATE_API_TOKEN=r8_replicate_api_token_here
NEXT_PUBLIC_POSTHOG_KEY=phc_posthog_api_key_here
NEXT_PUBLIC_POSTHOG_HOST=https://posthog_host_here