- Clone this repository
- Clone mediawiki into a
mediawikidirectory located in the same directory as the files from this repository - In that
mediawikidirectory, check out the version of MediaWiki that you want, and rungit submodule update --init --recursive - Go back up one level in the file structure to the clone of this repository
- Run
docker compose up -d - Run
docker compose exec mediawiki bash - In the container, start mysql by running
service mysql start - In the container, start varnish by running
varnishd -f /etc/varnish/default.vcl - In the container, start apache by running
apache2ctl start - Visit the wiki at
http://localhost:80/wiki/
The first time you launch the wiki, you also need to set it up
- Go through the installation screens, using
127.0.0.1as the database host andTheRootPasswordas the root database password - Download the resulting settings file and place it at
mediawiki/LocalSettings.php