You are here: Home » NewsFeeds » Dockuwiki: A containerized wiki that backs itself up via git

Dockuwiki: A containerized wiki that backs itself up via git

README.md

A good old fashioned self backup-ing dokuwiki in a box.

But what is it?

A self installing instance of the venerable dokuwiki that backs itself up to a git repo every hour. All wrapped up in a docker image (sorry, bow not included). Blog post with details here.

But why is it?

I wanted a dead simple method of setting up wikis without hassle. Using a git repo for backups simplifies deployment and eliminates the need for a host with persistent storage.

I don’t get the name

I tried to be cute by combining “Docker” and “Doku”. Get it? Hah!

How do I use it?

Create a git repo somewhere that the docker host can access. Just don’t commit anything to it! In step 2, let’s pretend you used BitBucket for hosting the repo.
$ docker run -d –restart=always –name=wiki -e SSH_DOMAIN=bitbucket.org -e REMOTE_URL=git@bitbucket.org:USERNAME/wiki.git -p 3000:3000 ericbarch/dockuwiki
On the first run, the container will generate a


 

Original article