Sign inSign up

gbeine/mediawiki

By gbeine

Updated 12 months ago

A Docker container for mediawiki-core

Image
Data science
Web servers
Content management system
0

10.0K

gbeine/mediawiki repository overview

Differences to the original image

  • this image is based on mediawiki-core, therefore it has no skins and extensions
  • extensions and skins are imported as volumes, so it is possible to maintain both outside of the container
  • if LocalSettings.php exists, mw-config is deactivated and the maintenance update is executed when the container starts
  • img_auth.php is supported, images are expected under /var/www/data/images in this case (data is a volume, too)

How to use this image

The basic pattern for starting a mediawiki instance is:

$ docker run --name some-mediawiki -d docker.io/gbeine/mediawiki:1.42

This image comes without skins and extensions, to allow independent maintenance of these outside of the docker container. It is highly recommended to add volumes accoding this:

$ docker run --name some-mediawiki -p 8080:80 \
    -v ./data:/var/www/data \
    -v ./images:/var/www/html/images \
    -v ./extensions:/var/www/html/extensions \
    -v ./skins:/var/www/html/skins \
    -v ./LocalSettings.php:/var/www/html/LocalSettings.php \
    -d docker.io/gbeine/mediawiki:1.42

Everything else works like with the original image: https://hub.docker.com/_/mediawiki

Tag summary

Content type

Image

Digest

sha256:35bd85e51

Size

273.5 MB

Last updated

12 months ago

docker pull gbeine/mediawiki:1.39