Docker image with dokuwiki - Release Hogfather, running on alpine with nginx
733
#docker-dokuwiki Release 2022-07-31a "Igor"
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:
It will check the md5sum of the dokuwiki download. It adds php8-openssl and his dependencies to ssl-download plugins within the image
##Download the Image und run the Container directly from Docker Hub or Cloud
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 /
#restore the site-data
tar xzvf /var/dokuwiki-backup/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/dokuwiki-backup/plugins_Wednesday.tgz ## Enter the proper Day of Week
#After restoring the Backup you hav to stop and start the Container
#for the correct working of the Plugins (i.E. cloud-plugin)
#finish
Content type
Image
Digest
Size
31.3 MB
Last updated
almost 6 years ago
docker pull migae21/dokuwiki