EMWCon Spring 2019/Dockerizing MediaWiki Setup
Appearance
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:
- Apache (Dockerfile)
- MariaDB (Dockerfile)
- Parsoid (Dockerfile)
- Nginx as a reverse proxy (Dockerfile)
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).