65 lines
2.2 KiB
Bash
65 lines
2.2 KiB
Bash
# ──────────────────────────────────────────────
|
||
# VFX Review – Environment Configuration
|
||
# Copy to .env.local and fill in values
|
||
# ──────────────────────────────────────────────
|
||
|
||
# ── DATABASE ──────────────────────────────────
|
||
DATABASE_URL="postgresql://postgres:postgres@localhost:5432/vfxreview"
|
||
|
||
# ── AUTH ──────────────────────────────────────
|
||
# Generate with: openssl rand -base64 32
|
||
NEXTAUTH_SECRET="your-secret-here-change-in-production"
|
||
NEXTAUTH_URL="http://localhost:3000"
|
||
|
||
# ── UPLOADTHING (simplest upload option) ──────
|
||
# Get from https://uploadthing.com
|
||
UPLOADTHING_SECRET=""
|
||
UPLOADTHING_APP_ID=""
|
||
|
||
# ── S3-COMPATIBLE STORAGE (optional) ──────────
|
||
# Set STORAGE_PROVIDER to: local | uploadthing | s3 | r2 | b2 | minio
|
||
STORAGE_PROVIDER="uploadthing"
|
||
|
||
# AWS S3
|
||
AWS_ACCESS_KEY_ID=""
|
||
AWS_SECRET_ACCESS_KEY=""
|
||
AWS_REGION="us-east-1"
|
||
AWS_BUCKET_NAME=""
|
||
|
||
# Cloudflare R2
|
||
R2_ACCESS_KEY_ID=""
|
||
R2_SECRET_ACCESS_KEY=""
|
||
R2_ACCOUNT_ID=""
|
||
R2_BUCKET_NAME=""
|
||
R2_PUBLIC_URL=""
|
||
|
||
# Backblaze B2
|
||
B2_APPLICATION_KEY_ID=""
|
||
B2_APPLICATION_KEY=""
|
||
B2_BUCKET_NAME=""
|
||
B2_ENDPOINT=""
|
||
|
||
# MinIO (self-hosted)
|
||
MINIO_ENDPOINT="http://localhost:9000"
|
||
MINIO_ACCESS_KEY=""
|
||
MINIO_SECRET_KEY=""
|
||
MINIO_BUCKET_NAME="vfx-review"
|
||
|
||
# Local storage (dev only)
|
||
LOCAL_UPLOAD_DIR="./uploads"
|
||
|
||
# ── EMAIL (nodemailer) ─────────────────────────
|
||
EMAIL_FROM="noreply@yourcompany.com"
|
||
EMAIL_SERVER_HOST="smtp.gmail.com"
|
||
EMAIL_SERVER_PORT=587
|
||
EMAIL_SERVER_USER=""
|
||
EMAIL_SERVER_PASSWORD=""
|
||
|
||
# ── SLACK ─────────────────────────────────────
|
||
# Default webhook (can be overridden per-project)
|
||
SLACK_DEFAULT_WEBHOOK=""
|
||
|
||
# ── APP ───────────────────────────────────────
|
||
NEXT_PUBLIC_APP_URL="http://localhost:3000"
|
||
NEXT_PUBLIC_APP_NAME="VFX Review"
|