Sign inSign up

forgetme/gitit

By forgetme

Updated about 10 years ago

A docker image for Gitit

Image
0

138

forgetme/gitit repository overview

gitit-docker

A docker image for Gitit, a git & pandoc powered wiki.

Dockerfile is inspired by Hyzual & bringnow.

This image is based on debian:stretch, in order to get the latest release version of Gitit (0.12.1 in stretch, 0.10.* in jessie).

Gitit run as an user inside the container (uid=60000, gid=60000). In order to allow him write permissions on the data volume, you may want to add a group in your host and set the correct permissions:

sudo groupadd -g 60000 gitit
sudo gpasswd -a <your_user> gitit
sudo chmod -R 775 <data_directory>
sudo chown -R <your_user>:gitit <data_directory>

Basic run command:

docker run -e [email protected] \
    -e GIT_USER_NAME=yourgitusername \
    -e TZ=Europe/Brussels \
    -v $HOME/<data_directory>:/data -p 60000:5001 \
    forgetme/gitit:0.12.1-2

Gitit can then be accessed through http://localhost:60000.

Default config files will be automatically written by Gitit to the data directory during the first run.

Tag summary

Content type

Image

Digest

Size

748 MB

Last updated

about 10 years ago

docker pull forgetme/gitit:0.12.1-2_1