Repository navigation
Expand file tree
/
Copy path.env.example
More file actions
41 lines (35 loc) · 1.51 KB
/
Copy path.env.example
File metadata and controls
41 lines (35 loc) · 1.51 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
# Application
AUTH_URL=http://localhost:3000
AUTH_SECRET=replace-with-a-cryptographically-random-secret-of-at-least-32-bytes
APP_URL=http://localhost:3000
# Prisma Postgres
# Direct connection: use for Drizzle migrations and administrative tasks.
DATABASE_URL=postgres://USER:PASSWORD@db.prisma.io:5432/postgres?sslmode=require
# Pooled connection: use for Next.js application runtime (Vercel/serverless).
DATABASE_URL_POOLED=postgres://USER:PASSWORD@pooled.db.prisma.io:5432/postgres?sslmode=require
DB_POOL_MAX=5
# Upstash Redis REST API
KV_REST_API_URL=https://YOUR-UPSTASH-DATABASE.upstash.io
KV_REST_API_TOKEN=replace-with-write-token
# Optional read-only token; never use this for rate limiting or writes.
KV_REST_API_READ_ONLY_TOKEN=
# Optional Upstash TCP URL, retained for other tools that need Redis protocol.
REDIS_URL=
# OAuth providers (configure only providers enabled for this deployment)
AUTH_GOOGLE_ID=
AUTH_GOOGLE_SECRET=
AUTH_GITHUB_ID=
AUTH_GITHUB_SECRET=
AUTH_MICROSOFT_ENTRA_ID_ID=
AUTH_MICROSOFT_ENTRA_ID_SECRET=
AUTH_MICROSOFT_ENTRA_ID_ISSUER=https://login.microsoftonline.com/common/v2.0
AUTH_FACEBOOK_ID=
AUTH_FACEBOOK_SECRET=
AUTH_TWITTER_ID=
AUTH_TWITTER_SECRET=
# Object storage and attachments are intentionally deferred.
# Email delivery (Resend). Needed only when verification or invitations are enabled.
RESEND_API_KEY=
RESEND_FROM_EMAIL=BetterSipocot Ideas <noreply@bettersipocot.org>
REQUIRE_EMAIL_VERIFICATION=false
# First administrator: run npm run admin:bootstrap -- admin@example.com "Administrator Name"