Public | Automated Build

Last pushed: 2 years ago
Short Description
Gitit wiki on Docker. Based on debian.
Full Description

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

Docker Pull Command
Owner
hyzual
Source Repository