Install Docker according to the official instruction.
The file mediawiki/Dockerfile
adds the plugins I use to the official
MediaWiki docker image.
- This can be modified with additional extensions for mediawiki as necessary
- Rebuild the image and push to your chosen docker repository
- Reference the same image in the docker compose file
Two compose files are provided - one that supports armv7
architecture, and the other that supports amd64
My main use case is to deploy on a Raspberry Pi 4, so the armv7 support is required.
Following the official guidance, once a clean install has been performed, copy the LocalSettings.php
from the docker container
The docker compose file uses environment
variables to specify connection credentials for the db. When running the GUI MediaWiki setup for the first time, it's important that the provided credentials for the DB are the same as the ones in the docker compose file. IT IS STRONGLY RECOMMENDED THAT YOU CHANGE THESE BEFORE STARTING THE INSTALL.
MYSQL_DATABASE=[my_wiki]
MYSQL_USER=[<mysql_username>]
MYSQL_PASSWORD="[<mysql_password>]"
This comes pre-installed with MW 1.34 and above (so no need to add to docker file)
- Scribunto Extension:
- Configuration steps for extension
This comes pre-installed with MW 1.34 and above (so no need to add to docker file)
- VisualEditor Extension:
- Configuration steps for visual editor
- MediaWiki-Docker VisualEditor
- Development docker environment configuration
This comes pre-installed with MW 1.35 and above (so no need to add to docker file)
- TemplateData Extension:
- Configuration steps for extension
- BetaFeatures Extension:
- Configuration steps for visual editor
- MediaWiki-Docker VisualEditor
- Development docker environment configuration
Allows PDF files to be embedded into MediaWiki using tags
This is the skin installed with the custom docker image
- Citizen Skin
- Configuration steps for the skin