Skip to content
Snippets Groups Projects
Adar Nimrod's avatar
nimrod authored
Not sure why I needed to begin with.
1c2f1458
History
Name Last commit Last update
..
.dockerignore
Dockerfile
README.md
cgitrc

cgit

cgit container image.

Usage

This container runs Apache that is configured with cgit at /cgit. It exposes port 80 and serves the repositories under /srv/git. The container runs as a limited user (www-data), so make sure to have the content of /srv/git readable by it. Also, if you wish to persist the cache, the location is /var/cache/cgit.

Example

docker -v '/srv/git:/srv/git:ro' -p '80:80' adarnimrod/cgit