A read-only web view of bare Git repositories.
641
A read-only web view of bare Git repositories. The image runs gitweb behind lighttpd, with syntax highlighting and a theme for phones, desktop and dark mode.
docker run --rm --read-only --tmpfs /tmp --cap-drop ALL --security-opt no-new-privileges \
--user 1001:1001 -p 8080:8080 \
-v /path/to/repositories:/srv/repositories:ro vinado/gitweb:latest
/srv/repositories. Nested directories work.8080.1001. The repositories need to belong to the same user, otherwise Git refuses to
read them./tmp has to be writable./etc/gitweb.d/site.conf, for example
our $site_name = "Example"; our @git_base_url_list = ('[email protected]:');. Without it the site is called "gitweb"
and shows no clone links.The image is built for linux/arm64.
Every push to main publishes a new patch version to Docker Hub as vinado/gitweb. Labelling the merged pull request
with release:minor or release:major raises that part of the version instead.
Content type
Image
Digest
sha256:00f124a69…
Size
24.1 MB
Last updated
1 day ago
docker pull vinado/gitweb