.env.example
Set these on your host before deploying. Each platform has an “Environment Variables” section in the deploy flow.
DB_PROVIDER
Choose one provider: sqlite, mongodb, or supabase
SQLITE_PATH
SQLite configuration Only needed for sqlite provider. Defaults to database.sqlite in the project root.
BLOB_READ_WRITE_TOKEN
secret
MONGODB_URI
secret
MongoDB configuration Use only for DB_PROVIDER=mongodb
MONGODB_DB
SUPABASE_URL
Supabase configuration Use only for DB_PROVIDER=supabase
SUPABASE_SERVICE_ROLE_KEY
secret
SUPABASE_ANON_KEY
secret
Or for read-only access from browser-safe contexts, use SUPABASE_ANON_KEY
NEXT_PUBLIC_SITE_URL
General settings
JWT_SECRET
secret
DEFAULT_ADMIN_USERNAME
Default admin account (required for first login seed)
DEFAULT_ADMIN_PASSWORD
secret