Skip to main content
Version: v1.0.0

.env.local

Example File

SITE_NAME="Default"
SITE_DESCRIPTION="Default"
SITE_BASE_URI=https://{my domain name}
DEFAULT_LAYOUT="templates:: default”
APP_ENV=prod
IS_S1_BOT_PROTECTION_ENABLED=true
MAILER_DSN=sendmail://default
MAILER_FROM_ADDRESS=noreply@{domain}
MAILER_TO_ADDRESS={username}@{domain}

Configuration Options

SITE_NAME

Name defined for site.

SITE_DESCRIPTION

Description defined for site.

SITE_BASE_URI

Base URL defined for site.

DEFAULT_LAYOUT

Default template for site.

APP_ENV

Site operation mode. Dev for testing and production for release.

IS_S1_BOT_PROTECTION_ENABLED

Enables enhanced bot protection for forms on site.

ReCAPTCHA Options (Legacy being phased out)

danger

Due to the change of ReCAPTCHA requiring to convert API Keys to Google Cloud projects by the end of 2025, Wise decided to discontinue support of the ReCAPTCHA module. It will be removed from v2+ and will be removed from v1 once it is completly discontinued. We highly recommend you switch to either the Internal GD module, or hCaptcha.

RECAPTCHA_SITE_KEY

Recapcha Site key for your site.

RECAPTCHA_SECRET_KEY

Recapcha Secret key for your site.

hCaptcha Options

HCAPTCHA_SITE_KEY

Hcapcha Site key for your site.

HCAPTCHA_SECRET_KEY

Hcapcha Secret key for your site.

MAILER_DSN

MAILER_DSN is the type of Mailer you want to use. Listed here are some examples for diffrent types

sendmail

Use Sendmail to send messages. To use this set MAILER_DSN to the following: sendmail://default

smtp

Use SMTP to send messages. To use this set MAILER_DSN to the following: smtp://user:pass@smtp.example.com:25

MAILER_FROM_ADDRESS

Email address to use as the from address for outgoing emails. The email address filled in on the form will be send as the reply-to address.

MAILER_TO_ADDRESS

Email address to send email to.