Environment Variables
The settings launch.rentals reads at runtime
| Variable | Required | Purpose |
|---|---|---|
DATABASE_URL | Yes | Neon Postgres connection string (set by the Neon integration) |
BETTER_AUTH_SECRET | Yes | Secret used to sign sessions. Use a long random value and keep it private |
BETTER_AUTH_URL | Yes | The public origin, for example https://rentals.iairu.com. Also used for canonical URLs and sitemaps |
SIGNUPS_DISABLED | No | true or 1 stops new companies from signing up: the sign-up page shows a notice with disabled fields. Logins, invitations and renter accounts still work. Default off |
RESEND_API_KEY | No | Sends invitation and booking emails through Resend |
EMAIL_FROM | No | The sender address for those emails |
Without an email provider
If RESEND_API_KEY is not set, emails are written to the server log instead of being sent. Invitations then have to be copied from the log.
For local development copy .env.example to .env.local. Never commit real values.