.env.example
Set these on your host before deploying. Each platform has an “Environment Variables” section in the deploy flow.
PORT
SELF_HOSTED_MODE
DISABLE_SIGNUP
UPLOAD_PATH
DATABASE_URL
secret
OPENAI_MODEL_NAME
secret
You can put it here or the app will ask you to enter it
OPENAI_API_KEY
secret
GOOGLE_MODEL_NAME
GOOGLE_API_KEY
secret
MISTRAL_MODEL_NAME
MISTRAL_API_KEY
secret
BETTER_AUTH_SECRET
secret
Auth Config
STRIPE_SECRET_KEY
secret
Stripe Configuration
STRIPE_WEBHOOK_SECRET
secret
RESEND_API_KEY
secret
Resend Configuration (optional, use if you want to send emails)
RESEND_AUDIENCE_ID
secret
RESEND_FROM_EMAIL
secret