Skip to content

Docker stack which adds plugins to the official MediaWiki Docker image

Notifications You must be signed in to change notification settings

Issafalcon/mediawiki-docker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker Compose file showing how to install plugins in the official MediaWiki image

Installation

Install Docker

Install Docker according to the official instruction.

Dockerfile

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

Docker Compose

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.

Configuration

Following the official guidance, once a clean install has been performed, copy the LocalSettings.php from the docker container

Configure database usernames and password

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>]"

Extension:Scribunto

This comes pre-installed with MW 1.34 and above (so no need to add to docker file)

Extension:VisualEditor

This comes pre-installed with MW 1.34 and above (so no need to add to docker file)

Extension:TemplateData

This comes pre-installed with MW 1.35 and above (so no need to add to docker file)

Extension:BetaFeatures

Extension:PDFEmbed

Allows PDF files to be embedded into MediaWiki using tags

Skin:Citizen

This is the skin installed with the custom docker image

About

Docker stack which adds plugins to the official MediaWiki Docker image

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 81.8%
  • Dockerfile 18.2%