maintained by MarvAmBass
FAQ - All you need to know about the marvambass Containers
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
- 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
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