From a4ec2a32b38261726e7a8c23e2e9d09b9daa87c8 Mon Sep 17 00:00:00 2001 From: stuzer05 Date: Sun, 25 Jun 2023 16:40:25 +0300 Subject: [PATCH] Commit --- README.md | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..1002a09 --- /dev/null +++ b/README.md @@ -0,0 +1,50 @@ +# Mediawiki + +Complete latest stable docker mediawiki installation + +--- + +Including software: +* Elastic search + +Mediawiki extensions: +* AdvancedSearch +* CirrusSearch +* DynamicSidebar +* Elastica +* MobileFrontend +* Mpdf +* Popups +* TimedMediaHandler +* UserFunctions +* FontAwesome +* MonacoEditor +* RequireJS + +Mediawiki themes: +* MinervaNeue +* Vector + +## Build docker image +```sh +docker build . +``` + +## Installation +```sh +docker volume create mediawiki-images + +docker run -d \ + --restart=unless-stopped \ + --link mariadb:mysql \ + -p 127.0.0.1:80:80 \ + -v mediawiki-images:/var/www/html/images \ + --name mediawiki \ + stuzer05/wiki:latest +``` + +## Upgrading +After installing new docker image, run database upgrage script +```sh +docker exec mediawiki /usr/local/bin/php /var/www/html/maintenance/update.php +```