-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
27 lines (23 loc) · 1.07 KB
/
Copy path.env.example
File metadata and controls
27 lines (23 loc) · 1.07 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
# Postgres (matches docker-compose.yml defaults)
# Host port defaults to 5455 to avoid clashing with a locally installed Postgres on 5432/5433.
POSTGRES_USER=postgres
POSTGRES_PASSWORD=postgres
POSTGRES_DB=app
POSTGRES_PORT=5455
DATABASE_URL=postgresql://postgres:postgres@localhost:5455/app
# Better Auth
# Generate with: npx @better-auth/cli secret
BETTER_AUTH_SECRET=replace-with-a-random-32-char-secret
BETTER_AUTH_URL=http://localhost:3000
NEXT_PUBLIC_BETTER_AUTH_URL=http://localhost:3000
# SEO (optional) — used for metadataBase, canonical URLs, and robots/sitemap.
# Set to your real deployed domain in production.
NEXT_PUBLIC_SITE_URL=http://localhost:3000
# Logging (optional) — pino level: debug | info | warn | error
LOG_LEVEL=info
# Email (optional) — used for email verification and password reset.
# Without these, emails are logged to the console instead of sent.
# Requires a Gmail account with 2FA enabled. Generate an App Password at:
# https://myaccount.google.com/apppasswords
GMAIL_USER=youraddress@gmail.com
GMAIL_APP_PASSWORD=replace-with-a-16-char-app-password