1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-23 01:39:27 +02:00
dockerfiles/dokuwiki
2018-07-20 15:20:56 +08:00
..
arm update dokuwiki CMD (FIX #46) 2017-05-30 11:19:31 +08:00
admin.sh update dokuwiki 2018-07-20 15:20:56 +08:00
docker-compose.yml update dokuwiki 2018-07-20 15:20:56 +08:00
Dockerfile dokuwiki: add php5-json 2018-07-20 15:14:14 +08:00
Dockerfile.debian swith to new domain: easypi.pro 2017-05-08 07:05:07 +08:00
nginx.conf update dokuwiki 2017-03-31 14:32:41 +08:00
README.md fix dokuwiki plugin issues 2015-08-26 22:07:19 +08:00

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 --rm --volumes-from dokuwiki -v `pwd`:/backup alpine tar czf /backup/dw-backup.tgz /var/www/html

Restore

$ docker run --rm --volumes-from dokuwiki -v `pwd`:/backup alpine tar xzf /backup/dw-backup.tgz

Plugin

You can install plugins via Extension Manager.

You can also install them manually.

$ docker exec -it dokuwiki 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