HUB
Sign inSign up

mangroveweb/wp-local

By mangroveweb

•Updated over 2 years ago

Custom WordPress Docker container for local development.

Image
0

1.8K

mangroveweb/wp-local repository overview

⁠wp-local

Custom WordPress Docker container for local development.

Uses PHP-FPM and requires an FPM proxy server.

⁠Includes:

  • XDebug
  • Disables OPcache
  • Sets uploads.ini to:
file_uploads = On
memory_limit = 50M
upload_max_filesize = 50M
post_max_size = 50M
max_execution_time = 600

⁠XDebug

To enable the XDebug Profiler, add the XDEBUG_PROFILE parameter to your request, e.g. http://localhost/?XDEBUG_PROFILE.

More details at xdebug.org⁠

To enable the XDebug Step Debugger, add the XDEBUG_SESSION_START=sessionname parameter. The Step Debugger runs on port 9009, not the default port.

More details at xdebug.org⁠

⁠Webgrind

Dependencies for Webgrind are installed. To use Webgrind, unzip the files from GitHub⁠ to a folder within the WordPress install and set $pythonExecutable to '/usr/bin/python3' in config.php.

⁠Overrides

If you need to enable OPcache, create a configuration file and mount it at /usr/local/etc/php/conf.d/opcache-recommended.ini.

If you need different uploads.ini settings, create your config file and mount it at /usr/local/etc/php/conf.d/uploads.ini

Tag summary
Recent tags
Content type
Image
Digest
Size
206.2 MB
Last updated
over 5 years ago
docker pull mangroveweb/wp-local:latest