MediaWiki-Docker

From MediaWiki.org
Jump to navigation Jump to search

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

Drawing of the bowhead whale.gif
Quickstart
Installing the dependencies and setting up the environment should take about 15 minutes
  • Clone the MediaWiki core repository: git clone --depth=1 https://gerrit.wikimedia.org/r/mediawiki/core.git mediawiki
  • Follow the directions in DEVELOPERS.md in the root of the mediawiki repository
  • Optional: extend the environment using the configuration recipes listed below
Help icon (the Noun Project 38716).svg
Support
If you run into issues, here are ways to get help.
Noun spore 153131
Tutorials / Guides
Documents icon - noun project 5020
Configuration recipes
Below are configuration recipes that can be used with MediaWiki core's Docker development environment.

docker-compose stacks can be extended with a docker-compose.override.yml file that resides in the same directory (at the root of MediaWiki core, in our case) as the docker-compose.yml file. Any configuration present in that file will override the defaults in docker-compose.yml. More documentation on overriding works is available at https://docs.docker.com/compose/extends/

After updating your override file, run docker-compose down followed by docker-compose up -d.

Configuration recipes: