Gitit wiki on Docker. Uses debian.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.editorconfig
.gitattributes
Dockerfile
LICENSE
README.md
docker-entrypoint.sh

README.md

docker-gitit

A Dockerfile for the Gitit Wiki. There is no default user, you can register directly in the wiki.

Usage

For a first installation (if you don't already use Gitit) :

sudo docker run -d --name gitit -p 80:5001 hyzual/gitit

To use an existing Gitit wiki (assuming it's installed at /home/gitit/wiki), mount it as a volume :

sudo docker run -d --name gitit -p 80:5001 -v /home/gitit/wiki:/data hyzual/gitit

Volumes

/data

/data/gitit.conf should contain the configuration file for gitit. If you don't provide it using the volume, a default one will be created.

Gitit will also create the following when started :

  • /data/static/ contains static (css and img) files used by gitit.
  • /data/templates/ contains HStringTemplate templates for wiki pages.
  • /data/wikidata/ contains the Git repo where all pages are stored.

Ports

5001

Gitit webserver port