Skip to main content
Version: vNext

.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.

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.