2019-08-05 07:09:14 +00:00
|
|
|
##
|
|
|
|
# Default configuration options for the local dev environment.
|
|
|
|
#
|
2019-12-30 13:46:17 +00:00
|
|
|
# All of these options can be overridden by setting them as environment variables before starting
|
2019-08-05 07:09:14 +00:00
|
|
|
# the environment. You will need to restart your environment when changing any of these.
|
2020-10-28 23:15:07 +00:00
|
|
|
#
|
|
|
|
# Below, the following substitutions can be made:
|
|
|
|
# - '{version}': any major.minor PHP version from 5.2 onwards.
|
2019-08-05 07:09:14 +00:00
|
|
|
##
|
|
|
|
|
|
|
|
# The site will be available at http://localhost:LOCAL_PORT
|
|
|
|
LOCAL_PORT=8889
|
|
|
|
|
|
|
|
# Where to run WordPress from. Valid options are 'src' and 'build'.
|
|
|
|
LOCAL_DIR=src
|
|
|
|
|
2020-10-28 23:15:07 +00:00
|
|
|
# The PHP version to use. Valid options are 'latest', and '{version}-fpm'.
|
2019-08-05 07:09:14 +00:00
|
|
|
LOCAL_PHP=latest
|
|
|
|
|
|
|
|
# Whether or not to enable XDebug.
|
|
|
|
LOCAL_PHP_XDEBUG=false
|
|
|
|
|
2019-08-07 11:54:22 +00:00
|
|
|
# Whether or not to enable Memcached.
|
|
|
|
LOCAL_PHP_MEMCACHED=false
|
|
|
|
|
2021-02-10 16:52:13 +00:00
|
|
|
##
|
2020-12-18 15:27:33 +00:00
|
|
|
# The database software to use.
|
|
|
|
#
|
|
|
|
# Supported values are `mysql` and `mariadb`.
|
2021-02-10 16:52:13 +00:00
|
|
|
##
|
2022-04-05 09:31:06 +00:00
|
|
|
LOCAL_DB_TYPE=mysql
|
2020-12-18 15:27:33 +00:00
|
|
|
|
2021-02-10 16:52:13 +00:00
|
|
|
##
|
2020-12-18 15:27:33 +00:00
|
|
|
# The database version to use.
|
|
|
|
#
|
|
|
|
# Defaults to 5.7 with the assumption that LOCAL_DB_TYPE is set to `mysql` above.
|
|
|
|
#
|
|
|
|
# When using `mysql`, see https://hub.docker.com/_/mysql/ for valid versions.
|
|
|
|
# When using `mariadb`, see https://hub.docker.com/_/mariadb for valid versions.
|
2021-02-10 16:52:13 +00:00
|
|
|
##
|
2022-04-05 09:31:06 +00:00
|
|
|
LOCAL_DB_VERSION=5.7
|
2019-08-05 07:09:14 +00:00
|
|
|
|
|
|
|
# The debug settings to add to `wp-config.php`.
|
|
|
|
LOCAL_WP_DEBUG=true
|
|
|
|
LOCAL_WP_DEBUG_LOG=true
|
|
|
|
LOCAL_WP_DEBUG_DISPLAY=true
|
|
|
|
LOCAL_SCRIPT_DEBUG=true
|
2020-10-10 20:13:11 +00:00
|
|
|
LOCAL_WP_ENVIRONMENT_TYPE=local
|
2019-08-12 08:28:33 +00:00
|
|
|
|
|
|
|
# The URL to use when running e2e tests.
|
|
|
|
WP_BASE_URL=http://localhost:${LOCAL_PORT}
|