EMWCon Spring 2019/Dockerizing MediaWiki Setup

From MediaWiki.org
Jump to navigation Jump to search

Note: if you want to run the following example on your machine, please have a look at the necessary preparations for Linux/Mac/Windows either directly on your Docker server or within a VirtualBox Ubuntu VM. For any questions up front please contact me at lex[at]dataspects.com.

We will look at setting up MediaWiki on the basis of 4 Docker images:

The setup will be based on this docker-compose.yml file which reveals how to configure these images at runtime with regard to VOLUMEs and ENVs. Please note that this docker-compose.yml is instantiated by an Ansible playbook and contains variable options for being run on Linux/Mac/Windows (Mac is cumbersome for using https://docs.docker.com/storage/volumes/ which is why they are disabled for Mac).