mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-25 02:04:06 +02:00
.. | ||
backup.sh | ||
docker-compose.yml | ||
Dockerfile | ||
Dockerfile.debian | ||
nginx.conf | ||
README.md |
dokuwiki
DokuWiki is a simple to use and highly versatile Open Source wiki software that doesn't require a database.
Run
$ docker run -d -p 8000:80 --restart always --name dokuwiki vimagick/dokuwiki
Backup
$ docker run --volumes-from dokuwiki -v `pwd`:/backup alpine tar czf /backup/dw-backup.tgz /var/www/html
Restore
$ docker run --volumes-from dokuwiki -v `pwd`:/backup alpine tar xzf /backup/dw-backup.tgz
Issues
Currently, Extension Manager doesn't work. Pull requests are welcome!
You can install plugins manually.
$ docker exec -it dokuwiki_dokuwiki_1 sh
>>> cd /var/www/html/lib/plugins/
>>> mkdir backup emoji wrap
>>> wget -O- https://github.com/tatewake/dokuwiki-plugin-backup/archive/master.tar.gz | tar xz --strip 1 -C backup
>>> wget -O- https://github.com/ptbrown/dokuwiki-plugin-emoji/archive/master.tar.gz | tar xz --strip 1 -C emoji
>>> wget -O- https://github.com/selfthinker/dokuwiki_plugin_wrap/archive/stable.tar.gz | tar xz --strip 1 -C wrap
>>> chown -R nobody:nobody backup emoji wrap