https://github.com/chiefy/docker-mediawiki
A working docker-compose orchestration of PHP8-fpm / nginx / mysql and mediawiki using alpine images
https://github.com/chiefy/docker-mediawiki
alpine-linux docker docker-compose docker-mediawiki mediawiki mysql nginx orchestration
Last synced: 9 months ago
JSON representation
A working docker-compose orchestration of PHP8-fpm / nginx / mysql and mediawiki using alpine images
- Host: GitHub
- URL: https://github.com/chiefy/docker-mediawiki
- Owner: chiefy
- License: mit
- Created: 2016-09-29T12:10:10.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2024-12-20T00:06:04.000Z (about 1 year ago)
- Last Synced: 2025-03-26T04:41:23.506Z (9 months ago)
- Topics: alpine-linux, docker, docker-compose, docker-mediawiki, mediawiki, mysql, nginx, orchestration
- Language: PHP
- Homepage:
- Size: 22.5 KB
- Stars: 11
- Watchers: 6
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# docker-mediawiki
A working docker-compose orchestration of PHP84-fpm / nginx / mysql and mediawiki using alpine docker images
## About
I have been looking around for a decent docker-based orchestration of Mediawiki, yet haven't found one. As an exercise I got Mediawiki running on lightweight Alpine Linux based docker images of latest nginx, and php8-fpm w/ Mediawiki. This setup uses MySQL for persistence, but you can use any of the engines that mediawiki supports (postgres, sqlite etc.).
## Usage
`docker pull ghcr.io/chiefy/alpine-mediawiki:1.42.3`
or
`docker pull ghcr.io/chiefy/alpine-mediawiki:latest`
## Docker-compose Orchestration
`docker-compose up -d`
This will get you a brand new mediawiki installation, you need to install it by visiting `http://localhost:8080/mw-config/`
## Options
Some of the `volume` properties in the `docker-compose.yml` have been commented out. When uncommented, you can auto-import a SQL backup and mount an existing `LocalSettings.php` for mediawiki to bootstrap an existing wiki.
## TODO
* Enable caching
* Fix nginx config for optimal perf