docker-dokuwiki Release 2018-04-22 "Greebo"
1.6K
A doker image providing dokuwiki with focus of backup in the container,
This project source is https://github.com/migae21/docker-dokuwiki
This project based on the work of https://github.com/istepanov/docker-dokuwiki also look at also look at http://fast.jumpingcrab.com/wp/blog/2017/02/06/docker-eine-praktische-einfuehrung-am-beispiel-dokuwiki/
with some improvements:
##Download the Image und run the Container directly from Docker Hub or Cloud
https://cloud.docker.com/swarm/migae21/repository/docker/migae21/dokuwiki/general https://hub.docker.com/r/migae21/dokuwiki/
docker run -d -p 80:80 --name dokuwiki migae21/dokuwiki:latest
Build the image form th GITHUB sources
Configure dokuwiki
Upgrade from old Versions
#validate and save the backups
mkdir dokuwiki-backup
#if you have a Version without the cron-backup connect to the container and run
docker exec -ti dokuwiki /bin/sh
/etc/periodic/daily/backup(.sh)
exit
cd dokuwiki-backup
docker cp dokuwiki:/var/dokuwiki-backup .
docker stop dokuwiki
docker rm dokuwiki
#checkout the new version from my github-repo and build it
git checkout https://github.com/migae21/docker-dokuwiki
cd docker-dokuwiki
docker build . -t dokuwiki
#launch the service
docker run -d -p 80:80 --name dokuwiki dokuwiki
#restore the backup replace $DAY with the weekday of the backup
docker cp dokuwiki-backup dokuwiki:/var/dokuwiki-backup/
#exec a shell from the container to restor the files
docker exec -ti dokuwiki /bin/sh
cd /
#restor the site-data
tar xzvf /var/dokuwiki-backup/Wednesday.tgz ## Enter the proper Day of Week
#restore the plugins dont forget to update Plugins via dokuwiki admin panel (after a release Upgrade)
tar xzvf /var/dokuwiki-backup/iplugins_Wednesday.tgz ## Enter the proper Day of Week
#finish, launch and test dokuwiki
Content type
Image
Digest
Size
26.1 MB
Last updated
over 8 years ago
docker pull migae21/dokuwiki_automatedbuild