.env.example
Set these on your host before deploying. Each platform has an “Environment Variables” section in the deploy flow.
LOCAL_PORT
The site will be available at http://localhost:LOCAL_PORT
LOCAL_DIR
Where to run WordPress from. Valid options are 'src' and 'build'.
LOCAL_PHP
The PHP version to use. Valid options are 'latest', and '{version}-fpm'.
LOCAL_PHP_XDEBUG
Whether or not to enable Xdebug.
LOCAL_PHP_XDEBUG_MODE
The Xdebug features to enable. By default, the following features are enabled in the local environment: Development helpers (`develop`).…
LOCAL_PHP_MEMCACHED
Whether or not to enable Memcached.
LOCAL_DB_TYPE
The database software to use. Supported values are `mysql` and `mariadb`.
LOCAL_DB_VERSION
The database version to use. Defaults to 8.0 with the assumption that LOCAL_DB_TYPE is set to `mysql` above. When using `mysql`, see…
LOCAL_MULTISITE
Whether or not to enable multisite.
LOCAL_WP_DEBUG
The debug settings to add to `wp-config.php`.
LOCAL_WP_DEBUG_LOG
LOCAL_WP_DEBUG_DISPLAY
LOCAL_SCRIPT_DEBUG
LOCAL_WP_ENVIRONMENT_TYPE
LOCAL_WP_DEVELOPMENT_MODE
LOCAL_WP_TESTS_DOMAIN
WP_BASE_URL
The URL to use when running e2e tests.
DOTENV_CONFIG_QUIET
This silences the tips output by the dotenv package.