Skip to content

⚠️ DEPRECATED ::: MediaWiki Software in a Docker Container (Ubuntu 14.04 - MySQL, PSQL and SQLite Drivers)

License

Notifications You must be signed in to change notification settings

MarvAmBass/docker-mediawiki

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

  • DH_SIZE
  • default: 2048 fast but a bit unsecure. if you need more security just use a higher value
  • MEDIAWIKI_RELATIVE_URL_ROOT
  • default: / - you can chance that to /phpmyadmin or what you need
  • MEDIAWIKI_HSTS_HEADERS_ENABLE
  • default: not set - if set to any value the HTTP Strict Transport Security will be activated on SSL Channel
  • MEDIAWIKI_HSTS_HEADERS_ENABLE_NO_SUBDOMAINS
  • 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 \
marvambass/mediawiki

About

⚠️ DEPRECATED ::: MediaWiki Software in a Docker Container (Ubuntu 14.04 - MySQL, PSQL and SQLite Drivers)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages