1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-16 11:58:47 +00:00
This commit is contained in:
kev 2015-08-26 21:33:48 +08:00
parent e0e087b90c
commit 913e78c5de
2 changed files with 19 additions and 2 deletions

@ -20,13 +20,14 @@ RUN apk add -U nginx \
COPY nginx.conf /etc/nginx/nginx.conf
VOLUME /var/www/html/data/pages \
VOLUME /var/www/html/conf \
/var/www/html/data/pages \
/var/www/html/data/meta \
/var/www/html/data/media \
/var/www/html/data/media_attic \
/var/www/html/data/media_meta \
/var/www/html/data/attic \
/var/www/html/conf
/var/www/html/lib/plugins
EXPOSE 80

@ -23,4 +23,20 @@ $ docker run --volumes-from dokuwiki -v `pwd`:/backup alpine tar czf /backup/dw-
$ 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
```
[1]: https://www.dokuwiki.org/dokuwiki