biohazard-vfx/.env.example
Nicholai 98a4c8f7db
Some checks failed
Build and Push to Docker Hub / Push Docker image to Docker Hub (push) Has been cancelled
Build and Push Docker Image / build-and-push (push) Has been cancelled
Fixed uploading and database integration, slightly updated NAV and made admin functionality live
2025-08-16 11:46:04 -06:00

33 lines
1.2 KiB
Plaintext

# Example environment variables for local development and for copying to .env.local or .env.production
# Database (SQLite local or a production Postgres URL)
# For SQLite (local dev):
DATABASE_URL="file:./dev.db"
# For Postgres (production):
# DATABASE_URL="postgresql://USER:PASSWORD@HOST:PORT/DATABASE?schema=public"
# NextAuth configuration
NEXTAUTH_URL="http://localhost:3000"
# Use a strong random string in production (e.g. `openssl rand -base64 32`)
NEXTAUTH_SECRET="your-nextauth-secret-here"
# Web3Forms (contact form)
WEB3FORMS_ACCESS_KEY="your-web3forms-access-key-here"
# Optional SMTP (for password reset / emails)
# SMTP_HOST=smtp.example.com
# SMTP_PORT=587
# SMTP_USER=your-smtp-user
# SMTP_PASS=your-smtp-password
# Optional upload provider (Cloudinary / UploadThing)
# CLOUDINARY_URL=cloudinary://API_KEY:API_SECRET@CLOUD_NAME
# UploadThing now prefers a base64 token; generate in the UploadThing dashboard or with their CLI
# If you have older creds, you can still keep them for reference
UPLOADTHING_TOKEN=your-uploadthing-base64-token
UPLOADTHING_SECRET=your-uploadthing-secret
UPLOADTHING_APP_ID=your-uploadthing-app-id
# Node environment
NODE_ENV=development