-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
51 lines (43 loc) · 3.19 KB
/
Copy path.env.example
File metadata and controls
51 lines (43 loc) · 3.19 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
48
49
50
51
# ============================================================================
# ALLFLIX — Environment Variables
# ============================================================================
# Copy to .env.local and fill in your values.
# Docs: wiki/ENV_VARIABLES.md (EN) | wiki/ENV_VARIABLES.pt-BR.md (PT-BR)
# ============================================================================
# ── Database ────────────────────────────────────────────────────────────────
# At least one is REQUIRED. Prisma uses POSTGRES_PRISMA_URL first.
DATABASE_URL="postgresql://user:password@localhost:5432/database"
POSTGRES_PRISMA_URL="postgresql://user:password@localhost:5432/database"
# ── Site ────────────────────────────────────────────────────────────────────
# All optional — sensible defaults are used if not set.
NEXT_PUBLIC_SITE_NAME="ALLFLIX"
NEXT_PUBLIC_SITE_NAME_SUFFIX=""
NEXT_PUBLIC_CONTACT_EMAIL="support@example.com"
NEXT_PUBLIC_APP_URL="http://localhost:3000"
# ── Authentication ──────────────────────────────────────────────────────────
# REQUIRED. Generate: openssl rand -base64 32
BETTER_AUTH_SECRET=""
# ── Email (Resend) ──────────────────────────────────────────────────────────
# In dev without RESEND_API_KEY, emails are logged to console.
RESEND_API_KEY=""
EMAIL_FROM="ALLFLIX <noreply@yourdomain.com>"
# ── TMDB API ────────────────────────────────────────────────────────────────
# REQUIRED. Get yours at: https://www.themoviedb.org/settings/api
TMDB_API_KEY=""
TMDB_API_URL="https://api.themoviedb.org/3"
# ── Streaming API ───────────────────────────────────────────────────────────
# Backend that resolves TMDB IDs into playable video URLs.
# In dev, leave empty to use the built-in example route.
STREAMING_API_URL=""
STREAMING_API_TOKEN=""
# ── Payment ─────────────────────────────────────────────────────────────────
# External checkout gateway. Leave empty in dev to use built-in test page.
# Full setup guide: wiki/PAYMENT_SETUP.md
PAYMENT_CHECKOUT_URL=""
PAYMENT_API_TOKEN=""
PAYMENT_WEBHOOK_SECRET=""
PAYMENT_WEBHOOK_RELAY_URL=""
# ── Admin & Cron ────────────────────────────────────────────────────────────
# REQUIRED in production. Generate: openssl rand -base64 32
CRON_SECRET=""
ADMIN_SECRET=""