This repository has been archived on 2024-06-01. You can view files and clone it, but cannot push or open issues or pull requests.
docker-mediawiki/README.md
stuzer05 3a1ffcde00
#2 Add README (#8)
Closes #2

Reviewed-on: #8
Co-authored-by: stuzer05 <stuzer05@stuzer.link>
Co-committed-by: stuzer05 <stuzer05@stuzer.link>
2023-06-25 16:41:09 +03:00

51 lines
805 B
Markdown

# 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
```