Skip to content

mdsjip/mediawiki

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MediaWiki

A self-contained instance of MediaWiki with data volume support. Based on the work by Nick Stenning.

This image contains a basic docker-powered installation of MediaWiki, powered by nginx, php-fpm, and sqlite.

The setup requires LocalSettings.phpand wiki.sqlite. You can run the MediaWiki installer to configure your wiki. In the alternative, you can copy the files in bootstrap to /data/wiki and your wiki will spin up with a default database and settings.

The README.md in Nick Stenning's repo has instructions for creating your own LocalSettings.php using the MediaWiki installer.

By default, MediaWiki uploads will also be written to the images/ directory of the mounted data volume. This directory will be created if necessary on startup.

Technical details

The web server is nginx. Its configuration file works with php-fpm by listening on a unix socket.

MediaWiki is based on php so the Dockerfile installs php5 and appropriate packages.

The database is sqlite. Since this is a file-based database, a bootstrapped file is provided to get you going. Appropriate php5 packages are installed to work with sqlite.

Supervisor controls the server processes. The Docker ENTRYPOINT launches supervisor to initialize the services.

About

A Docker-based installation of mediawiki

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 73.8%
  • Nginx 17.3%
  • Shell 8.9%