hasadna/mediawiki-containers

Name: mediawiki-containers

Owner: The Public Knowledge Workshop

Description: Containerized MediaWiki install including VisualEditor, Parsoid, RESTBase & other services.

Created: 2016-12-23 16:01:42.0

Updated: 2016-12-23 16:01:45.0

Pushed: 2016-01-14 02:28:31.0

Homepage:

Size: 54

Language: Shell

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

mediawiki-containers

Containerized MediaWiki install including VisualEditor, Parsoid, RESTBase, Mathoid & other services.

Requirements
Installation

On Debian and Ubuntu, the fastest installation method is this one-liner:

 https://raw.githubusercontent.com/wikimedia/mediawiki-containers/master/mediawiki-containers | sudo bash

Alternatively, you can check out this repository, and run sudo ./mediawiki-containers install in the checkout.

The installer mode will prompt you for

It will set up a systemd unit, so that your MediaWiki install automatically starts on boot. Here is a screencast of an installer run.

Architecture

Running sudo ./mediawiki-containers start in a checkout of this repository will start four containers:

After startup, a brand new MediaWiki install will be reachable at http://localhost/.

Architecture notes

All data is stored outside the containers in a host directory:

srv/mediawiki-containers/data
awiki  mysql  node-services

This greatly simplifies backups and upgrades. Update scripts are run on each startup, which means that updating to a newer version of the entire setup is as easy as a restart:

 service mediawiki-containers restart

Building on this upgrade-by-default approach, the installer can optionally set up fully automatic nightly upgrades by setting up a one-line cron job.

Status & next steps

This is alpha quality software. The basic functionality of MediaWiki, services and VisualEditor is there, but some details about the configuration will likely change before this can be used in production.

Done:

Next steps / wishlist:

Tell us about your ideas at https://phabricator.wikimedia.org/T92826.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.