Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Hyzual/docker-gitit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Gitit wiki on Docker. Uses debian.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages