MitiaUiki-Docker

This page is a translated version of the page MediaWiki-Docker and the translation is 35% complete.

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

Khuài-sok khai-sí
Installing the dependencies and setting up the environment should take about 15 minutes
  • Clone the MediaWiki core repository - git clone https://gerrit.wikimedia.org/r/mediawiki/core.git mediawiki
    Windows users: It is highly-recommended you clone the repository in the WSL filesystem rather than the Windows filesystem as there are significant performance improvements.
  • Follow the directions in DEVELOPERS.md in the root of the mediawiki repository.
  • Optional: extend the environment using the configuration recipes listed below
Tsi-tshî
If you run into issues, here are ways to get help.
Phuè-tī phuè-hng
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.

Phuè-tī phuè-hng: