-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.env.example
More file actions
17 lines (14 loc) · 765 Bytes
/
.env.example
File metadata and controls
17 lines (14 loc) · 765 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Neon Postgres connection strings
# DATABASE_URL uses Neon's pooled host (-pooler) for the app runtime.
# DIRECT_URL uses the direct host for Prisma CLI commands like migrate.
DATABASE_URL="postgresql://<user>:<password>@<pooled-host>/<db>?sslmode=require&connect_timeout=15"
DIRECT_URL="postgresql://<user>:<password>@<direct-host>/<db>?sslmode=require&connect_timeout=15"
# Optional: override library sync endpoint (defaults to /api/library/state)
NEXT_PUBLIC_LIBRARY_SYNC_ENDPOINT="/api/library/state"
# Better Auth
BETTER_AUTH_SECRET="replace-with-long-random-secret"
BETTER_AUTH_URL="http://localhost:3000"
NEXT_PUBLIC_APP_URL="http://localhost:3000"
# Google OAuth
GOOGLE_CLIENT_ID="your-google-client-id"
GOOGLE_CLIENT_SECRET="your-google-client-secret"