Public | Automated Build

Last pushed: 2 years ago
Short Description
stable MediaWiki on Ubuntu 14.04 with PSQL, MySQL or SQLITE Drivers
Full Description

Docker MediaWiki Container (based on marvambass/nginx-ssl-php)

maintained by MarvAmBass

FAQ - All you need to know about the marvambass Containers

What is it

This Dockerfile (available as marvambass/mediawiki) gives you a completly secure MediaWiki.

The best is to just start this container if it's needed. And keep it stopped afterwarts.

It's based on the marvambass/nginx-ssl-php Image

View in Docker Registry marvambass/mediawiki

View in GitHub MarvAmBass/docker-mediawiki

Environment variables and defaults

    • default: 2048 fast but a bit unsecure. if you need more security just use a higher value
    • default: _/_ - you can chance that to /phpmyadmin or what you need
    • default: not set - if set to any value the HTTP Strict Transport Security will be activated on SSL Channel
    • default: not set - if set together with MEDIAWIKI_HSTS_HEADERS_ENABLE and set to any value the HTTP Strict Transport Security will be deactivated on subdomains

Using the marvambass/mediawiki Container

You can use SQLite or MySQL or Postgresql as a Database.

So you might want to use a running MySQL Container (you could use: marvambass/mysql).

If you want a HTAccess protection, you just need to link in the htpasswd file to /htpasswd - after that the HTAccess protection will be enabled

You need to --link your mysql container to marvambass/phpmyadmin

docker run -d \
-p 443:443 \
--link mysql:mysql \
-v /my/dbpath/:/usr/share/nginx/data/ \
-v /my/uploads/:/uploads \
-v /my/LocalSettings.php:/LocalSettings.php \
-v /my/htpasswd:/htpasswd \
--name mediawiki \
Docker Pull Command
Source Repository