Environment Variables
Setup environment variables for your project
Here's a list of the environment variables you need to set up for your project:
Variable Name | Description | Link to get it |
---|---|---|
DATABASE_URL | The connection URL for the PostgreSQL database | Same as DATABASE_URL in .env.example file for docker setup |
GOOGLE_CLIENT_ID | The client ID for Google authentication | Link |
GOOGLE_CLIENT_SECRET | The client secret for Google authentication | Link |
key_id | The key ID for Razorpay payment gateway | Link |
key_secret | The key secret for Razorpay payment gateway | Link |
LEMON_SQUEEZY_API_KEY | The API key for Lemonsqueezy payment gateway | Link |
LEMON_SQUEEZY_STORE_ID | The store ID for Lemonsqueezy payment gateway | Link |
LEMON_SQUEEZY_WEBHOOK_SIGNATURE | The webhook signature for Lemonsqueezy payment gateway | Can be anything, just make sure it's same as the one in the Lemonsqueezy dashboard |
GITHUB_CLIENT_ID | The client ID for GitHub authentication | Link |
GITHUB_CLIENT_SECRET | The client secret for GitHub authentication | Link |
RESEND_API_KEY | The API key for Resend email service | Link |
EMAIL_SERVER_HOST | The hostname for the email server | Same as EMAIL_SERVER_HOST in .env.example file for docker setup |
EMAIL_SERVER_PORT | The port number for the email server | Same as EMAIL_SERVER_PORT in .env.example file for docker setup |
EMAIL_SERVER_USER | The username for the email server | Same as EMAIL_SERVER_USER in .env.example file for docker setup |
EMAIL_SERVER_PASSWORD | The password for the email server | Same as RESEND_API_KEY |
EMAIL_FROM | The email address to send emails from | Your email address from which you want to send emails |
NEXTAUTH_SECRET | The secret key for NextAuth | Can be anything |