MediaWiki-Docker

MediaWiki-Docker is a Docker based development environment included with MediaWiki core.

Example file
Below is a complete override file that provides a Redis and ElasticSearch containers, along with overriding the user mapping and the XDebug configuration for the app container.

Enable development settings
You probably want to enable MediaWiki's development settings. Log files will be generated in  and.



Disable XDebug for better performance
If you are not working on backend code or don't need to set breakpoints, you can use a Docker image that has XDebug disabled, which can boost performance.



Mail handling
You can capture outgoing email with MailHog. The mail interface is accessible at http://localhost:8025/





ElasticSearch





 * Setup commands

Ngrok
You can use ngrok to share your local site with others. After installing, run. Whatever URL is shown to you needs to be set in your.



Performance profiling with XHProf
You can use XHProf to profile requests.

TODO: Adapt something from https://github.com/perftools/xhgui/blob/master/docker-compose.yml