mirror of
git://develop.git.wordpress.org/
synced 2025-01-29 10:38:22 +01:00
284764c658
This commit: * Removes the PHPUnit `wordpressdevelop/phpunit` container as a service to the Docker environment. * Updates `test:php` (the default way to run tests) to run the Composer PHPUnit package default. * Removes the `test:php-composer` script. There is no longer a need for core to keep the `wordpressdevelop/phpunit` container as a service in `docker-compose.yml`. Removing it will reduce the overhead and bandwidth needed to set up WordPress locally and remove confusion about its use. Follow-up to [45783-45784], [49099], [49362], [51545], [51736], [51685]. Props johnbillion, hellofromTonya. Fixes #54112. git-svn-id: https://develop.svn.wordpress.org/trunk@51868 602fd350-edb4-49c9-b593-d223f7449a82
52 lines
1.4 KiB
Bash
52 lines
1.4 KiB
Bash
##
|
|
# Default configuration options for the local dev environment.
|
|
#
|
|
# All of these options can be overridden by setting them as environment variables before starting
|
|
# the environment. You will need to restart your environment when changing any of these.
|
|
#
|
|
# Below, the following substitutions can be made:
|
|
# - '{version}': any major.minor PHP version from 5.2 onwards.
|
|
##
|
|
|
|
# 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
|
|
|
|
# The PHP version to use. Valid options are 'latest', and '{version}-fpm'.
|
|
LOCAL_PHP=latest
|
|
|
|
# Whether or not to enable XDebug.
|
|
LOCAL_PHP_XDEBUG=false
|
|
|
|
# Whether or not to enable Memcached.
|
|
LOCAL_PHP_MEMCACHED=false
|
|
|
|
##
|
|
# The database software to use.
|
|
#
|
|
# Supported values are `mysql` and `mariadb`.
|
|
##
|
|
LOCAL_DB_TYPE=mysql
|
|
|
|
##
|
|
# 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.
|
|
##
|
|
LOCAL_DB_VERSION=5.7
|
|
|
|
# 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
|
|
LOCAL_WP_ENVIRONMENT_TYPE=local
|
|
|
|
# The URL to use when running e2e tests.
|
|
WP_BASE_URL=http://localhost:${LOCAL_PORT}
|