-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
43 lines (30 loc) · 1.5 KB
/
.env.example
File metadata and controls
43 lines (30 loc) · 1.5 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
# ===========================================
# LinkDen Environment Variables
# ===========================================
# Copy this file to .env and fill in the values.
# Only BETTER_AUTH_SECRET is strictly required to get started.
# ─── Required ────────────────────────────────────────────
# Auth secret — generate with: openssl rand -base64 32
BETTER_AUTH_SECRET=your-secret-key-here
# Auth base URL (your Hono server)
BETTER_AUTH_URL=http://localhost:3000
# CORS origin (your Next.js frontend)
CORS_ORIGIN=http://localhost:3001
# Next.js public server URL (used by the browser)
NEXT_PUBLIC_SERVER_URL=http://localhost:3000
# ─── Optional: Email (password reset, magic links) ──────
# EMAIL_PROVIDER=resend
# EMAIL_API_KEY=re_xxxxxxxxxxxxx
# EMAIL_FROM=noreply@yourdomain.com
# ─── Optional: CAPTCHA (contact form) ───────────────────
# CAPTCHA_PROVIDER=turnstile
# CAPTCHA_SITE_KEY=0x...
# CAPTCHA_SECRET_KEY=0x...
# ─── Optional: Apple Wallet Pass ────────────────────────
# WALLET_TEAM_ID=XXXXXXXXXX
# WALLET_PASS_TYPE_ID=pass.com.yourdomain.linkden
# WALLET_SIGNER_CERT=base64-encoded-cert
# WALLET_SIGNER_KEY=base64-encoded-key
# WALLET_WWDR_CERT=base64-encoded-wwdr-cert
# ─── Optional: MapKit (location blocks) ─────────────────
# MAPKIT_TOKEN=your-mapkit-jwt