-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
47 lines (42 loc) · 2.24 KB
/
Copy path.env.example
File metadata and controls
47 lines (42 loc) · 2.24 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
# Use sslmode=verify-full to avoid the pg v9 deprecation warning for legacy
# aliases (require/prefer/verify-ca). Neon requires SSL; verify-full is the
# correct long-term form.
DATABASE_URL=postgresql://user:password@host/dbname?sslmode=verify-full
DIRECT_URL=postgresql://user:password@host/dbname?sslmode=verify-full
NEON_AUTH_BASE_URL=
NEON_AUTH_COOKIE_SECRET=
# Neon control-plane API, used by lib/auth/admin.ts to provision Neon Auth users
# when an admin creates an account (see #239). Required for the "Create user" flow.
# Use a dedicated least-privilege API key — NOT the CI key from GitHub Actions
# secrets, which carries branch create/delete permissions.
#
# NEON_BRANCH_ID must be a `br-`-prefixed branch id (a name yields
# PLATFORM_BRANCH_NOT_FOUND) — get it from `neon branches list --project-id <id>`.
#
# It must identify the branch behind NEON_AUTH_BASE_URL — NOT the one behind
# DATABASE_URL. neon-preview-branch.yml overrides only DATABASE_URL per PR, so preview
# deployments read Postgres from their own branch while authenticating against the
# shared auth directory. Set this to that shared branch for every scope, including
# preview; provisioning into another branch's directory leaves the invitee unable to
# sign in.
NEON_API_KEY=
NEON_PROJECT_ID=
NEON_BRANCH_ID=
# Resend transactional email (Neon Auth webhook)
# Set SKIP_WEBHOOK_VERIFICATION=true to bypass Ed25519 signature verification in local dev.
RESEND_API_KEY=
RESEND_FROM_EMAIL=
SKIP_WEBHOOK_VERIFICATION=
# Dev-bypass login (see lib/utils.ts#isBypassAllowed) is disabled by default
# on any host, including production deployments not on Vercel. This repo's
# `dev` script is plain `next dev --turbopack` (no Vercel CLI), so VERCEL_ENV
# is not set automatically for local development — set this explicitly in
# your local .env or the bypass login form will be a no-op.
VERCEL_ENV=development
# Vercel Blob (private store) — backs file_upload question answers.
# Create a Blob store from the Vercel dashboard (Storage → Create Database →
# Blob → Private) and connect it to this project; Vercel then auto-injects
# BLOB_READ_WRITE_TOKEN (and BLOB_STORE_ID) for all environments. File uploads
# throw a generic error locally until this is set.
BLOB_READ_WRITE_TOKEN=
BLOB_STORE_ID=