Benefits of running MediaWiki in a pertinent dockerized setup

From semantic-mediawiki.org
< SMWCon Fall 2018
SMWCon Fall 2018Benefits of running MediaWiki in a pertinent dockerized setup
SMWCon Fall 2018
Benefits of running MediaWiki in a pertinent dockerized setup
Talk details
Description: You buy a dishwasher — not 1000 parts and a screwdriver
Speaker(s): Lex Sulzer
Type: Technical talk, Workshop
Audience: Everyone
Event start: 2018/12/14 09:00:00
Event finish: 2018/12/14 11:00:00
Length: 120 minutes
Video: not available
Keywords: Docker, Containers, Clone, Upgrade, Develop
Give feedback
  1. Run a dockerized MediaWiki setup on your computer
  2. Clone your MediaWiki instance in ~1 minute — for testing, development, upgrading, etc.
  3. Hide complexity in containers and enjoy a clear view on your setup
  4. Don't fear upgrades but run them on pertinent abstraction layers:
    • OS
    • Docker
    • Containers: Apache, MariaDB, Memcached, Elasticsearch, Kibana, Parsoid
    • MediaWiki Core + Extensions
  5. See docker-compose-standard.yml.j2 for the container level (this file is a Jinja2 template that must be instantiated in the course of the system instantiation)

Goals and their Specifications[edit]

Kitchen ready to use MW ready to use

High-level specification "Shopping list, layout/installation/wiring plan"[edit]

High-level specifications "docker-compose.yml"[edit]

version: "3"
services:
  db:
    image: mariadb:10.3.10
    restart: always
    environment:
      MYSQL_ROOT_PASSWORD: mysqlrootpass
    volumes:
      - mariadb_data:/var/lib/mysql
  mediawikiservice:
    image: dataspects/docker-apache-php-dataspects-mediawiki:latest
    volumes:
      - mediawiki_root:/var/www/html/w
      - mediawiki_conf:/etc/apache2/sites-available
  proxy:
    image: dataspects/docker-nginx:latest
    ports:
      - 80:80
    volumes:
      - nginx_conf:/etc/nginx/conf.d
  parsoid:
    image: dataspects/docker-parsoid:1.0
    environment:
      PARSOID_DOMAIN_smwcondockerizedmw: http://mediawikiservice/w/api.php
volumes:
  mariadb_data:
    driver: local
  mediawiki_root:
    driver: local
  mediawiki_conf:
    driver: local
  nginx_conf:
    driver: local

Shopping Centers[edit]

IKEA

https://hub.docker.com (https://hub.docker.com/u/dataspects)

  • Oven
  • Fridge
  • Dishwasher

Specs in accompanying documents

  • Apache/PHP
  • MariaDB
  • Parsoid

Specs in Dockerfiles

Workspaces[edit]

Space in a building OS and Docker server

Access/Storage[edit]

Doors, passways and cupboards Ports