-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
53 lines (41 loc) · 1.57 KB
/
.env.example
File metadata and controls
53 lines (41 loc) · 1.57 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
# Application URLs
NEXT_PUBLIC_APP_URL=http://localhost:3000
NEXT_PUBLIC_SOCKET_URL=http://localhost:4001
# Socket Server Configuration
SOCKET_PORT=4001
# Database Configuration
DATABASE_URL=postgresql://postgres:scribeai_dev_password@localhost:5433/scribeai_db
POSTGRES_USER=postgres
POSTGRES_PASSWORD=scribeai_dev_password
POSTGRES_DB=scribeai_db
POSTGRES_PORT=5433
# Google Gemini API
GEMINI_API_KEY=your_gemini_api_key_here
# Authentication (Better Auth)
# Better Auth Configuration: https://www.better-auth.com/docs/installation
# Required: Base URL for Better Auth callbacks
BETTER_AUTH_URL=http://localhost:3000
# Required: Secret for signing tokens and sessions
# Generate a secure secret: openssl rand -base64 32
BETTER_AUTH_SECRET=your_auth_secret_here
# Optional: Customize session expiry (default: 7 days)
# BETTER_AUTH_SESSION_MAX_AGE=604800
# Better Auth Database
# Better Auth uses DATABASE_URL by default for PostgreSQL session store
# DATABASE_URL is already configured above
# Better Auth Email Provider (optional)
# Configure SMTP for magic link / email verification
# SMTP_HOST=smtp.gmail.com
# SMTP_PORT=587
# SMTP_PASS=your_app_password
# Better Auth OAuth Providers (optional)
# GitHub: https://github.com/settings/developers
# GITHUB_CLIENT_ID=your_github_client_id
# GITHUB_CLIENT_SECRET=your_github_client_secret
# Google: https://console.cloud.google.com/apis/credentials
# GOOGLE_CLIENT_ID=your_google_client_id
# GOOGLE_CLIENT_SECRET=your_google_client_secret
# Node Environment
NODE_ENV=development