Skip to main content

Environment file (.env)

The .env file at the project root controls all runtime configuration. Below is a complete reference.

Application

Database

SQLite is supported for development:

Mail

For local development, use log as the mailer to write emails to the log file instead of sending them:

Queues

For higher throughput, use Redis:

Cache

Security

Payment gateways

Payment gateway credentials are stored in the Admin → Settings → Payments panel rather than in .env, with the exception of PayPal:

Social login (Google)

Logging

Optional integration with Better Stack (Logtail):

In-app settings

After installation, most configuration is managed through the admin panel at Admin → Settings:
Settings stored in the database take precedence over .env values for email and payment credentials. You only need .env for the initial setup.