Custom WordPress Docker container for local development.
1.8K
Custom WordPress Docker container for local development.
Uses PHP-FPM and requires an FPM proxy server.
file_uploads = On
memory_limit = 50M
upload_max_filesize = 50M
post_max_size = 50M
max_execution_time = 600
To enable the XDebug Profiler, add the XDEBUG_PROFILE parameter to your request,
e.g. http://localhost/?XDEBUG_PROFILE.
To enable the XDebug Step Debugger, add the XDEBUG_SESSION_START=sessionname parameter.
The Step Debugger runs on port 9009, not the default port.
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.
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
docker pull mangroveweb/wp-local:latest