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
Size: 54
Language: Shell
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Containerized MediaWiki install including VisualEditor, Parsoid, RESTBase, Mathoid & other services.
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.
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/.
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.
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:
/api/rest_v1/
to RESTBase.Next steps / wishlist:
Tell us about your ideas at https://phabricator.wikimedia.org/T92826.