Sign inSign up

esuarezsantana/gitit

By esuarezsantana

Updated about 3 years ago

Gitit Wiki with graphviz and ssh support.

Image
0

307

esuarezsantana/gitit repository overview

Gitit Wiki

Give it a try

docker run --rm --name gitit -p 5001:5001 esuarezsantana/gitit

then open http://localhost:5001/.

Use your own data directory

mkdir my.gitit.wiki
docker run --rm --name gitit -p 5001:5001 -v "$(pwd)/my.gitit.wiki:/gitit" esuarezsantana/gitit

then open http://localhost:5001/. All your wiki data will appear in your my.gitit.wiki local directory.

Edit as a git repository

You will need an ssh public key. Suppose you already have one in ~/.ssh/id_rsa.pub.

mkdir -p my.gitit.wiki/etc
cat ~/.ssh/id_rsa.pub >> my.gitit.wiki/etc/authorized_keys
docker run --rm --name gitit -p 5001:5001 -p 5022:22 -v "$(pwd)/my.gitit.wiki:/gitit" esuarezsantana/gitit

Then, set up your repo with:

git clone ssh://gitit@localhost:5022/gitit/var/www/wikidata

Push some changes, and see the results in http://localhost:5001/.

More info

Source code repo: https://github.com/esuarezsantana/docker-gitit

Derived from: https://hub.docker.com/r/matthewddunlap/gitit

Tag summary

Content type

Image

Digest

sha256:01aca5adb

Size

196 MB

Last updated

about 3 years ago

docker pull esuarezsantana/gitit